Borderou de evaluare (job #1314437)
Utilizator | Data | 11 ianuarie 2015 20:53:27 | |
---|---|---|---|
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:18:1: error: declaration does not declare anything [-fpermissive]
int ;
^
user.cpp: In function ‘int main()’:
user.cpp:21:8: error: ‘p’ was not declared in this scope
f>>p>>q>>n;
^
user.cpp:21:11: error: ‘q’ was not declared in this scope
f>>p>>q>>n;
^
user.cpp:21:14: error: ‘n’ was not declared in this scope
f>>p>>q>>n;
^
user.cpp:22:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:24:23: error: ‘sort’ was not declared in this scope
sort(v+1,v+n+1,cmp);
^
user.cpp:25:5: error: ‘Min’ was not declared in this scope
Min=p;
^
user.cpp:26:5: error: ‘Max’ was not declared in this scope
Max=p;
^
user.cpp:27:9: error: ‘i’ was not declared in this scope
for(i=2;i<=n;i++)
^
user.cpp:32:17: error: ‘nr’ was not declared in this scope
nr++;
^
user.cpp:39:8: error: ‘nr’ was not declared in this scope
g<<nr;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !