Borderou de evaluare (job #3230048)

Utilizator stefanchpStefan Chiper stefanchp Data 18 mai 2024 22:49:57
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void dijkstra(int)': main.cpp:32:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | for (int i = 0; i < g[node].size(); i++) | ~~^~~~~~~~~~~~~~~~ main.cpp:29:13: warning: unused variable 'val' [-Wunused-variable] 29 | int val = s.begin()->first; | ^~~ main.cpp: In function 'int main()': main.cpp:57:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 57 | for (int i = 2; i <= n; i++) | ^~~ main.cpp:62:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 62 | return 0; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbOK10
31ms303kbIncorect0
41ms557kbIncorect0
59ms1605kbIncorect0
619ms2846kbIncorect0
729ms4276kbIncorect0
869ms7675kbIncorect0
944ms7090kbOK10
10118ms10743kbIncorect0
Punctaj total20

Ceva nu functioneaza?