Borderou de evaluare (job #2130593)

Utilizator AndreiStanescuAlloys Nokito AndreiStanescu Data 13 februarie 2018 19:24:52
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void bfs(int)’: user.cpp:41:13: warning: unused variable ‘k’ [-Wunused-variable] int x,j,k,nod; ^ user.cpp:41:15: warning: unused variable ‘nod’ [-Wunused-variable] int x,j,k,nod; ^ user.cpp: In function ‘void solve()’: user.cpp:79:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] {for(j=0;j<C[i].size();j++) ^ user.cpp: In function ‘void dfs(int)’: user.cpp:95:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<G[nod].size();i++) ^ user.cpp: In function ‘void dft(int)’: user.cpp:105:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<GT[nod].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:137:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<sol[i].size();j++) ^ user.cpp:117:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ctc.out","wt",stdout); ^ user.cpp: In function ‘void read()’: user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ctc.in","rt",stdin); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms6404kbNumar de componente gresit00
24ms6400kbCorect10
34ms6404kbNumar de componente gresit0
44ms6428kbNumar de componente gresit00
512ms6564kbNumar de componente gresit0
624ms6908kbNumar de componente gresit0
736ms7240kbNumar de componente gresit00
892ms8356kbNumar de componente gresit0
9180ms10324kbNumar de componente gresit0
10232ms12288kbCorect1010
Punctaj total10

Ceva nu functioneaza?