Borderou de evaluare (job #1314420)
Utilizator | Data | 11 ianuarie 2015 20:34:23 | |
---|---|---|---|
Problema | Lungimi de interval | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:10: error: ‘x’ was not declared in this scope
int cmp (x,y)
^
user.cpp:9:12: error: ‘y’ was not declared in this scope
int cmp (x,y)
^
user.cpp:9:13: error: expression list treated as compound expression in initializer [-fpermissive]
int cmp (x,y)
^
user.cpp:10:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
user.cpp:18:1: error: declaration does not declare anything [-fpermissive]
int ;
^
user.cpp: In function ‘int main()’:
user.cpp:21:8: error: ‘t’ was not declared in this scope
f>>t;
^
user.cpp:22:9: error: ‘j’ was not declared in this scope
for(j=1;j<=t;j++)
^
user.cpp:24:12: error: ‘n’ was not declared in this scope
f>>n;
^
user.cpp:25:13: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:27:27: error: ‘sort’ was not declared in this scope
sort(v+1,v+n+1,cmp);
^
user.cpp:28:9: error: ‘Min’ was not declared in this scope
Min=v[1].a;
^
user.cpp:29:9: error: ‘Max’ was not declared in this scope
Max=v[1].b;
^
user.cpp:30:9: error: ‘s’ was not declared in this scope
s=0;
^
user.cpp:31:13: error: ‘i’ was not declared in this scope
for(i=2;i<=n;i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !