Borderou de evaluare (job #3349647)

Utilizator unomMirel Costel unom Data 1 aprilie 2026 14:04:14
Problema Plimbare3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs2(int, int, int, int, int)': main.cpp:75:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 75 | for(int i = 0; i<diam_vec.size(); i++) | ~^~~~~~~~~~~~~~~~ main.cpp:89:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 89 | if(i == diam_vec.size() - 1) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:159:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 159 | int dr = (poz < diam_vec.size() - 1) ? max_dr[poz + 1] : 0; | ~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:141:13: warning: 'new_best' may be used uninitialized [-Wmaybe-uninitialized] 141 | int new_best; | ^~~~~~~~ main.cpp:109:13: warning: 'new_diam' may be used uninitialized [-Wmaybe-uninitialized] 109 | int new_diam; | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms303kbIncorect0
23ms1081kbIncorect0
34ms2129kbIncorect0
423ms9359kbIncorect0
554ms16510kbIncorect0
654ms17858kbIncorect0
783ms25788kbIncorect0
8143ms30195kbIncorect0
995ms37531kbMemory limit exceeded0
10124ms37564kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?