Borderou de evaluare (job #3186112)

Utilizator David2007David Preda David2007 Data 21 decembrie 2023 16:42:21
Problema Calcule Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 34 | for(i=1;i<=n;i++) | ^~~ main.cpp:36:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 36 | int a; | ^~~ main.cpp:53:10: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 53 | s+=v[i]; | ~^~~~~~ main.cpp:50:9: note: 's' was declared here 50 | int s,r,max1=0; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
22ms303kbIncorect0
311ms692kbKilled by Signal 110
48ms557kbIncorect0
510ms802kbKilled by Signal 110
612ms577kbKilled by Signal 110
710ms716kbKilled by Signal 110
84ms557kbIncorect0
910ms790kbKilled by Signal 110
1011ms815kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?