Borderou de evaluare (job #1314440)
Utilizator | Data | 11 ianuarie 2015 20:54:05 | |
---|---|---|---|
Problema | Dunarea | 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: In function ‘int main()’:
user.cpp:24:23: error: ‘sort’ was not declared in this scope
sort(v+1,v+n+1,cmp);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !