Borderou de evaluare (job #3230054)

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

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:56:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 56 | for (int i = 2; i <= n; i++) | ^~~ main.cpp:61:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 61 | return 0; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
31ms303kbOK10
41ms303kbOK10
58ms1605kbOK10
614ms2367kbOK10
719ms3604kbOK10
849ms6324kbOK10
939ms6434kbOK10
1084ms7643kbOK10
Punctaj total100

Ceva nu functioneaza?