Borderou de evaluare (job #1253466)
Utilizator | Data | 1 noiembrie 2014 13:03:59 | |
---|---|---|---|
Problema | Problema A | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:9: error: ‘n’ was not declared in this scope
in>>n>>endl;
^
user.cpp:10:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++){
^
user.cpp:11:9: error: ‘v’ was not declared in this scope
in>>v[i];}
^
user.cpp:12:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n-2;i++){
^
user.cpp:13:9: error: ‘v’ was not declared in this scope
p=p*v[i]}
^
user.cpp:13:13: error: expected ‘;’ before ‘}’ token
p=p*v[i]}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !