Borderou de evaluare (job #1501433)

Utilizator mihaitheodorMihai Theodor Iliant mihaitheodor Data 13 octombrie 2015 13:55:11
Problema Bete2 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:8:5: error: expected ‘,’ or ‘;’ before ‘int’ int n,k=0; ^ user.cpp:9:10: error: ‘n’ was not declared in this scope cin>>n; ^ user.cpp:14:14: error: ‘v’ was not declared in this scope cin>>v[i]; ^ user.cpp:25:24: error: ‘v’ was not declared in this scope if(v[i]+v[j]==v[k]) ^ user.cpp:33:11: error: ‘k’ was not declared in this scope cout<<k; ^

Ceva nu functioneaza?