Borderou de evaluare (job #3349650)

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

Raport evaluator

Compilare: main.cpp: In function 'void dfs2(int, int, int, int, int)': main.cpp:77:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 77 | for(int i = 0; i<diam_vec.size(); i++) | ~^~~~~~~~~~~~~~~~ main.cpp:91:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 91 | if(i == diam_vec.size() - 1) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:161:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 161 | int dr = (poz < diam_vec.size() - 1) ? max_dr[poz + 1] : 0; | ~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:143:13: warning: 'new_best' may be used uninitialized [-Wmaybe-uninitialized] 143 | int new_best; | ^~~~~~~~ main.cpp:111:13: warning: 'new_diam' may be used uninitialized [-Wmaybe-uninitialized] 111 | int new_diam; | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms303kbOK10
23ms1081kbOK10
34ms2129kbOK10
424ms9670kbIncorect0
554ms16482kbOK10
659ms17801kbIncorect0
782ms25731kbOK10
8122ms30314kbOK10
9113ms37601kbMemory limit exceeded0
10130ms37519kbMemory limit exceeded0
Punctaj total60

Ceva nu functioneaza?