Borderou de evaluare (job #2490181)

Utilizator XXMihaiXX969Gherghinescu Mihai Andrei XXMihaiXX969 Data 9 noiembrie 2019 21:14:35
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp:13:26: warning: integer overflow in expression [-Woverflow] const int oo = (1 << 31) - 1; ~~~~~~~~~~^~~ main.cpp: In function 'void bellmanford(int&)': main.cpp:38:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0;i < v[nod].size() ;i++) ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:69:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 1;i <= n; i++) ^~~ main.cpp:72:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' d[1] = 0; ^ main.cpp:91:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j = 2;j <= n;j++) ^~~ main.cpp:93:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms6160kbIncorect00
215ms6160kbIncorect00
315ms6160kbIncorect00
415ms6160kbOK55
516ms6160kbIncorect00
615ms6160kbIncorect00
715ms6160kbIncorect0
838ms6946kbIncorect00
966ms7077kbIncorect0
1016ms6160kbIncorect0
1157ms7471kbIncorect00
12146ms8257kbIncorect0
13105ms7733kbIncorect0
14181ms8912kbIncorect0
15230ms9437kbIncorect00
16161ms8781kbIncorect0
1716ms6160kbIncorect0
18235ms9957kbIncorect00
19283ms10612kbIncorect0
20120ms6160kbOK5
Punctaj total5

Ceva nu functioneaza?