Borderou de evaluare (job #3281880)

Utilizator NunumNunum nunum Nunum Data 3 martie 2025 21:13:26
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 15

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 24 | for(i1=1;i1<=n;i1++) | ^~~ main.cpp:49:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 49 | fout<<smax; | ^~~~ main.cpp:13:19: warning: variable 'l1' set but not used [-Wunused-but-set-variable] 13 | int n,m,i1,i2,l1,l2,c1,c2,s,pi,smax,i,j; | ^~ main.cpp:13:22: warning: variable 'l2' set but not used [-Wunused-but-set-variable] 13 | int n,m,i1,i2,l1,l2,c1,c2,s,pi,smax,i,j; | ^~ main.cpp:50:29: warning: 'c2' may be used uninitialized [-Wmaybe-uninitialized] 50 | fout<<" "<<c1<<" "<<c2; | ^~ main.cpp:13:28: note: 'c2' was declared here 13 | int n,m,i1,i2,l1,l2,c1,c2,s,pi,smax,i,j; | ^~ main.cpp:50:24: warning: 'c1' may be used uninitialized [-Wmaybe-uninitialized] 50 | fout<<" "<<c1<<" "<<c2; | ^~~ main.cpp:13:25: note: 'c1' was declared here 13 | int n,m,i1,i2,l1,l2,c1,c2,s,pi,smax,i,j; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbOK5
30ms303kbIncorect0
41ms303kbOK5
511ms770kbKilled by Signal 110
620ms770kbKilled by Signal 110
725ms778kbKilled by Signal 110
829ms778kbKilled by Signal 110
912ms778kbKilled by Signal 110
1012ms774kbKilled by Signal 110
1112ms774kbKilled by Signal 110
129ms774kbKilled by Signal 110
1312ms774kbKilled by Signal 110
1412ms774kbKilled by Signal 110
154ms770kbKilled by Signal 110
164ms770kbKilled by Signal 110
174ms778kbKilled by Signal 110
184ms778kbKilled by Signal 110
194ms778kbKilled by Signal 110
204ms770kbKilled by Signal 110
Punctaj total15

Ceva nu functioneaza?