Borderou de evaluare (job #3228327)

Utilizator FeliciaicarRusu Felician Gabriel Feliciaicar Data 7 mai 2024 16:47:08
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:41: warning: 'imaxi' may be used uninitialized [-Wmaybe-uninitialized] 30 | fout<<maxi-mini<<" "<<imini+1<<" "<<imaxi; | ^~~~~ main.cpp:12:24: note: 'imaxi' was declared here 12 | int n,sc=0,x,imini,imaxi; | ^~~~~ main.cpp:30:36: warning: 'imini' may be used uninitialized [-Wmaybe-uninitialized] 30 | fout<<maxi-mini<<" "<<imini+1<<" "<<imaxi; | ^~~ main.cpp:12:18: note: 'imini' was declared here 12 | int n,sc=0,x,imini,imaxi; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbOK5
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbOK5
60ms303kbOK5
71ms303kbOK5
81ms303kbOK5
94ms303kbOK5
108ms303kbIncorect0
1114ms303kbOK5
1224ms303kbOK5
1329ms303kbIncorect0
1439ms303kbOK5
15188ms303kbOK5
16208ms303kbOK5
17208ms397kbOK5
18228ms303kbOK5
19223ms303kbOK5
20223ms303kbOK5
Punctaj total80

Ceva nu functioneaza?