Borderou de evaluare (job #3381183)

Utilizator andrei_obrejaAndrei Obreja andrei_obreja Data 5 decembrie 2026 10:06:05
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 12 | for(int i = 1; i <= n; i++) | ^~~ main.cpp:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 14 | int ansmx = -30001; | ^~~ main.cpp:33:42: warning: 'ind' may be used uninitialized [-Wmaybe-uninitialized] 33 | fout << ind - k + 1 << ' ' << ind << ' ' << ansmx; | ^~~ main.cpp:15:9: note: 'ind' was declared here 15 | int ind; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
21ms303kbOK10
34ms557kbOK10
44ms557kbOK10
56ms557kbOK10
67ms819kbOK10
77ms819kbOK10
814ms1437kbOK10
924ms1953kbOK10
1029ms2260kbOK10
Punctaj total100

Ceva nu functioneaza?