Borderou de evaluare (job #3275079)

Utilizator tudortica28Tudor Tica tudortica28 Data 9 februarie 2025 10:42:51
Problema Buline Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:46: warning: 'lmax' may be used uninitialized [-Wmaybe-uninitialized] 40 | cout << smax << ' ' << ++stmax << ' ' << lmax; | ^~~~ main.cpp:10:74: note: 'lmax' was declared here 10 | int n, v[200000], s = 0, st = 0, l = 0, smax = INT_MIN, stmax, semn, lmax; | ^~~~ main.cpp:40:43: warning: 'stmax' may be used uninitialized [-Wmaybe-uninitialized] 40 | cout << smax << ' ' << ++stmax << ' ' << lmax; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ main.cpp:10:61: note: 'stmax' was declared here 10 | int n, v[200000], s = 0, st = 0, l = 0, smax = INT_MIN, stmax, semn, lmax; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbSuma gresita!0
20ms303kbSuma gresita!0
30ms303kbSuma gresita!0
41ms303kbSuma gresita!0
52ms303kbSuma gresita!0
65ms557kbSuma gresita!0
77ms557kbSuma gresita!0
89ms819kbOK!10
99ms819kbOK!10
109ms819kbSuma gresita!0
Punctaj total20

Ceva nu functioneaza?