Borderou de evaluare (job #3265305)

Utilizator luc3lexa_Alexandrescu Luca luc3lexa_ Data 28 decembrie 2024 23:38:37
Problema Cuburi3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:50:34: warning: 'ending_index' may be used uninitialized [-Wmaybe-uninitialized] 50 | while(parent[ending_index]){ | ^ main.cpp:38:45: note: 'ending_index' was declared here 38 | int max_height = -1,max_path_length,ending_index; | ^~~~~~~~~~~~ main.cpp:47:36: warning: 'max_path_length' may be used uninitialized [-Wmaybe-uninitialized] 47 | fout << max_path_length << " " << max_height << '\n'; | ^~~ main.cpp:38:29: note: 'max_path_length' was declared here 38 | int max_height = -1,max_path_length,ending_index; | ^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1343kbOK10
20ms1343kbOK10
30ms1343kbOK10
40ms1343kbOK10
51ms1343kbOK10
61ms1343kbOK10
71ms1343kbOK10
81ms1343kbOK10
92ms1343kbOK10
1019ms1343kbOK10
Punctaj total100

Ceva nu functioneaza?