Borderou de evaluare (job #1940104)

Utilizator Teodor97Teodor Toma Teodor97 Data 26 martie 2017 13:43:15
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:17:6: error: ‘s’ was not declared in this scope s=0 ^ user.cpp:18:6: error: expected ‘;’ before ‘for’ for(j=1;j<=n;j++) ^ user.cpp:18:15: warning: statement has no effect [-Wunused-value] for(j=1;j<=n;j++) ^ user.cpp:18:22: error: expected ‘;’ before ‘)’ token for(j=1;j<=n;j++) ^

Ceva nu functioneaza?