Borderou de evaluare (job #3268831)

Utilizator Stefan08Nechifor Stefan Stefan08 Data 17 ianuarie 2025 18:50:20
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 10 | for(i=1;i<=n;i++) | ^~~ main.cpp:12:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 12 | s=0; | ^ main.cpp:29:29: warning: 'sf' may be used uninitialized [-Wmaybe-uninitialized] 29 | cout<<maxi<<" "<<incf<<" "<<sf; | ^~ main.cpp:8:23: note: 'sf' was declared here 8 | int s,n,i,inc,incf,sf,maxi=-999999999; | ^~ main.cpp:29:24: warning: 'incf' may be used uninitialized [-Wmaybe-uninitialized] 29 | cout<<maxi<<" "<<incf<<" "<<sf; | ^~~ main.cpp:8:18: note: 'incf' was declared here 8 | int s,n,i,inc,incf,sf,maxi=-999999999; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbOK5
30ms303kbOK5
40ms303kbOK5
50ms303kbOK5
61ms303kbOK5
71ms303kbOK5
81ms303kbOK5
99ms520kbKilled by Signal 110
105ms524kbKilled by Signal 110
119ms528kbKilled by Signal 110
125ms524kbKilled by Signal 110
139ms528kbKilled by Signal 110
145ms524kbKilled by Signal 110
155ms520kbKilled by Signal 110
169ms524kbKilled by Signal 110
175ms524kbKilled by Signal 110
185ms524kbKilled by Signal 110
191ms524kbKilled by Signal 110
201ms520kbKilled by Signal 110
Punctaj total40

Ceva nu functioneaza?