Borderou de evaluare (job #2935690)

Utilizator dragosteleagaDragos Teleaga dragosteleaga Data 7 noiembrie 2022 12:05:27
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:38:164: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 38 | if (distante[adiacent.first].first > distante[nod].first + adiacent.second||distante[adiacent.first].first == distante[nod].first + adiacent.second&&distante[nod].second<distante[adiacent.first].second) { main.cpp:44:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 44 | for(int fortareatacurenta:fortareata) | ^~~ main.cpp:47:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 47 | for (int i = 1; i < distante.size(); i++) | ^~~ main.cpp:47:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for (int i = 1; i < distante.size(); i++) | ~~^~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbIncorect0
20ms184kbOK10
33ms708kbOK10
40ms184kbIncorect0
5200ms1232kbTime limit exceeded0
6127ms2060kbOK10
70ms184kbOK10
82ms839kbIncorect0
9202ms1880kbTime limit exceeded0
1036ms3436kbIncorect0
Punctaj total40

Ceva nu functioneaza?