Borderou de evaluare (job #3333886)

Utilizator RaduMoldovanMoldovan Radu RaduMoldovan Data 15 ianuarie 2026 15:29:05
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:25: warning: overflow in conversion from 'long int' to 'int' changes value from '-9999999999' to '-1410065407' [-Woverflow] 11 | int n, st, dr, maxi=-9999999999, s=-1, start; | ^~~~~~~~~~~ main.cpp:32:26: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized] 32 | cout<<maxi<<" "<<dr<<" "<<st; | ^~~ main.cpp:11:16: note: 'dr' was declared here 11 | int n, st, dr, maxi=-9999999999, s=-1, start; | ^~ main.cpp:32:31: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized] 32 | cout<<maxi<<" "<<dr<<" "<<st; | ^~ main.cpp:11:12: note: 'st' was declared here 11 | int n, st, dr, maxi=-9999999999, s=-1, start; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbOK5
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
71ms303kbIncorect0
81ms303kbIncorect0
94ms557kbIncorect0
109ms1019kbIncorect0
1114ms1540kbIncorect0
1224ms2457kbIncorect0
1334ms3399kbIncorect0
1444ms4272kbIncorect0
1551ms4407kbKilled by Signal 110
1650ms4411kbKilled by Signal 110
1751ms4403kbKilled by Signal 110
1851ms4407kbKilled by Signal 110
1951ms4407kbKilled by Signal 110
2049ms4407kbKilled by Signal 110
Punctaj total5

Ceva nu functioneaza?