Borderou de evaluare (job #1145696)
Utilizator | Data | 18 martie 2014 13:13:42 | |
---|---|---|---|
Problema | Sport | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: expected initializer before ‘ifstream’
ifstream f("sport.in");
^
user.cpp: In function ‘int main()’:
user.cpp:8:1: error: ‘f’ was not declared in this scope
f>>n;
^
user.cpp:11:5: error: ‘c’ was not declared in this scope
c[i]=v[i];
^
user.cpp:13:6: error: ‘c’ was not declared in this scope
sort(c+1;c+n+1);
^
user.cpp:13:15: error: expected ‘;’ before ‘)’ token
sort(c+1;c+n+1);
^
user.cpp:15:5: error: ‘x’ was not declared in this scope
x=c[i];
^
user.cpp:16:9: error: ‘j’ was not declared in this scope
for(j=1;j<=n;j++)
^
user.cpp:18:13: error: ‘p’ was not declared in this scope
p=i;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !