Borderou de evaluare (job #2969647)

Utilizator RobertlelRobert Robertlel Data 23 ianuarie 2023 15:20:33
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int bellmanford()': main.cpp:28:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 28 | for (int i = 0 ; i < v[nod].size () ; i++) | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:60:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 60 | for (int i = 1 ; i <= n ; i++) | ^~~ main.cpp:63:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 63 | if (bellmanford()) | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbOK55
20ms184kbOK55
30ms184kbOK55
40ms184kbOK55
50ms184kbOK55
60ms184kbOK510
70ms184kbOK5
813ms2379kbOK515
918ms2387kbOK5
100ms184kbOK5
1125ms2940kbOK520
1249ms3465kbOK5
1337ms3010kbOK5
1468ms4116kbOK5
1594ms4718kbOK515
1667ms4075kbOK5
174ms1495kbOK5
18108ms5337kbOK515
19131ms6074kbOK5
203ms1495kbOK5
Punctaj total100

Ceva nu functioneaza?