Borderou de evaluare (job #3360228)

Utilizator GavrilitaIanisGavrilita Ianis GavrilitaIanis Data 10 iulie 2026 17:58:17
Problema Secventa 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:41:35: warning: 'nrmax' may be used uninitialized [-Wmaybe-uninitialized] 41 | fout << stmax << " " << stmax + nrmax - 1 << " " << smax << "\n"; | ~~~~~~^~~~~~~ main.cpp:19:48: note: 'nrmax' was declared here 19 | int st = 1, nr = k, smax = INT_MIN, stmax, nrmax; | ^~~~~ main.cpp:41:35: warning: 'stmax' may be used uninitialized [-Wmaybe-uninitialized] 41 | fout << stmax << " " << stmax + nrmax - 1 << " " << smax << "\n"; | ~~~~~~^~~~~~~ main.cpp:19:41: note: 'stmax' was declared here 19 | int st = 1, nr = k, smax = INT_MIN, stmax, nrmax; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbWrong answer!0
20ms303kbOK!10
30ms303kbOK!10
40ms303kbOK!10
50ms303kbOK!10
61ms303kbOK!10
71ms303kbOK!10
81ms303kbOK!10
92ms303kbOK!10
103ms557kbOK!10
Punctaj total90

Ceva nu functioneaza?