Borderou de evaluare (job #2490184)

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

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:29:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0;i < v[j].size() ;i++) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:57:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 1;i <= n; i++) ^~~ main.cpp:60:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' d[1] = 0; ^ main.cpp:79:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j = 2;j <= n;j++) ^~~ main.cpp:81: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
115ms6160kbOK55
215ms6160kbOK55
315ms6160kbIncorect00
415ms6160kbIncorect00
516ms6160kbIncorect00
615ms6160kbIncorect00
715ms6160kbIncorect0
8500ms6684kbTime limit exceeded00
954ms7077kbIncorect0
1016ms6160kbIncorect0
11503ms7208kbTime limit exceeded00
12116ms8126kbIncorect0
13107ms7733kbIncorect0
14192ms8781kbIncorect0
15221ms9437kbIncorect00
16188ms8781kbIncorect0
1713ms6160kbIncorect0
18266ms9961kbIncorect00
19310ms10616kbIncorect0
2015ms6160kbIncorect0
Punctaj total10

Ceva nu functioneaza?