Borderou de evaluare (job #1139798)
Utilizator | Data | 11 martie 2014 14:57:51 | |
---|---|---|---|
Problema | Roata | 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:7:18: error: ‘n’ was not declared in this scope
fscanf(f,"%d%d",&n,&p);
^
user.cpp:8:5: error: ‘i’ was not declared in this scope
for(i=1;i<=p;i++){fscanf(f,"%d",&x);p[i]=x;t+=x;}
^
user.cpp:8:34: error: ‘x’ was not declared in this scope
for(i=1;i<=p;i++){fscanf(f,"%d",&x);p[i]=x;t+=x;}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !