Borderou de evaluare (job #2201880)

Utilizator DragosArseneDragos Arsene DragosArsene Data 6 mai 2018 13:47:58
Problema Pamant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 52

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:19:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<g[nod].size();j++){ ~^~~~~~~~~~~~~~ user.cpp:36:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<g[nod].size();j++){ ~^~~~~~~~~~~~~~ user.cpp:37:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(h[g[nod][j]]==h[nod]+1); ^~ user.cpp:38:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if(low[g[nod][j]]>=h[nod]) ^~ user.cpp:14:12: warning: unused variable ‘j’ [-Wunused-variable] int fiu, j; ^ user.cpp: In function ‘int main()’: user.cpp:78:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(q=0;q<g[rad].size();q++) ~^~~~~~~~~~~~~~ user.cpp:87:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<cc.size();i++){ ~^~~~~~~~~~ user.cpp:54:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d", &n, &m); ^ user.cpp:56:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms4072kbRaspuns partial corect4
28ms4252kbRaspuns partial corect4
34ms4096kbRaspuns partial corect4
456ms5416kbRaspuns partial corect4
576ms6048kbRaspuns partial corect4
6120ms7024kbRaspuns partial corect4
740ms4692kbRaspuns corect10
844ms5052kbRaspuns corect10
9220ms8708kbRaspuns partial corect4
100ms4060kbRaspuns partial corect4
Punctaj total52

Ceva nu functioneaza?