Borderou de evaluare (job #2990313)

Utilizator rosca.crisRosca Cristian rosca.cris Data 7 martie 2023 18:57:36
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:27:49: warning: 'max_end' may be used uninitialized [-Wmaybe-uninitialized] 27 | fout << max_sum << ' ' << max_str << ' ' << max_end; | ^~~~~~~ main.cpp:11:18: note: 'max_end' was declared here 11 | int max_str, max_end; | ^~~~~~~ main.cpp:27:42: warning: 'max_str' may be used uninitialized [-Wmaybe-uninitialized] 27 | fout << max_sum << ' ' << max_str << ' ' << max_end; | ^~~ main.cpp:11:9: note: 'max_str' was declared here 11 | int max_str, max_end; | ^~~~~~~ main.cpp:19:21: warning: 'min_i' may be used uninitialized [-Wmaybe-uninitialized] 19 | max_str = min_i + 1; | ~~~~~~~~^~~~~~~~~~~ main.cpp:12:23: note: 'min_i' was declared here 12 | int min_ = 0; int min_i; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK5
20ms184kbOK5
30ms184kbOK5
40ms184kbOK5
50ms184kbOK5
60ms184kbOK5
70ms184kbOK5
80ms184kbOK5
93ms446kbOK5
1015ms880kbOK5
1114ms1482kbOK5
1224ms2392kbOK5
1334ms3272kbOK5
1439ms3780kbOK5
15196ms19927kbOK5
16218ms22048kbOK5
17218ms22032kbOK5
18237ms24018kbOK5
19237ms24047kbOK5
20237ms24043kbOK5
Punctaj total100

Ceva nu functioneaza?