Borderou de evaluare (job #2201878)

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

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:79:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(q=0;q<g[rad].size();q++) ~^~~~~~~~~~~~~~ user.cpp:89:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<cc.size();i++){ ~^~~~~~~~~~ user.cpp:93:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<sol.size();i++){\ ~^~~~~~~~~~~ user.cpp:55: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:57: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
10ms3684kbRaspuns partial corect4
28ms3864kbRaspuns partial corect4
34ms3704kbRaspuns partial corect4
452ms5020kbRaspuns partial corect4
576ms5688kbRaspuns partial corect4
6120ms6684kbRaspuns partial corect4
736ms4428kbRaspuns partial corect4
844ms4732kbRaspuns partial corect4
9224ms8380kbRaspuns partial corect4
100ms3668kbRaspuns partial corect4
Punctaj total40

Ceva nu functioneaza?