Borderou de evaluare (job #2741280)

Utilizator smoc_georgemarianSmoc George-Marian smoc_georgemarian Data 15 aprilie 2021 20:12:29
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'bool compar::operator()(std::pair<long long int, long long int>, std::pair<long long int, long long int>)': main.cpp:19:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return a.second > b.second || a.second == b.second && a.first > b.first; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void citire()': main.cpp:31:9: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ main.cpp: In function 'void djk()': main.cpp:3:18: warning: left shift count >= width of type [-Wshift-count-overflow] #define INF 1 << 32 ^ main.cpp:46:12: note: in expansion of macro 'INF' sol[i] = INF; ^~~ main.cpp:55:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < g[act.first].size(); i++) ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:3:18: warning: left shift count >= width of type [-Wshift-count-overflow] #define INF 1 << 32 ^ main.cpp:71:17: note: in expansion of macro 'INF' if (sol[i] == INF) ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms1703kbIncorect0
25ms1703kbIncorect0
37ms1835kbIncorect0
47ms1835kbIncorect0
526ms2359kbIncorect0
646ms2883kbIncorect0
760ms3145kbIncorect0
8109ms4829kbIncorect0
987ms4194kbIncorect0
10275ms8519kbIncorect0
Punctaj total0

Ceva nu functioneaza?