Borderou de evaluare (job #2569045)

Utilizator alexis_mih24Alexis Mihaloianis alexis_mih24 Data 4 martie 2020 10:53:22
Problema Expresie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:10:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=n;i++) ^~~ main.cpp:12:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' s=0; ^ main.cpp:14:7: error: 's1' was not declared in this scope { s1=s1+v[i-1]; ^~ main.cpp:15:5: error: 's2' was not declared in this scope s2=0; ^~ Non zero exit status: 1

Ceva nu functioneaza?