Borderou de evaluare (job #1497664)
Utilizator | Data | 7 octombrie 2015 08:22:13 | |
---|---|---|---|
Problema | Planificare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:14: error: missing template arguments before ‘x’
int cmp(pair x, pair y)
^
user.cpp:6:22: error: missing template arguments before ‘y’
int cmp(pair x, pair y)
^
user.cpp:6:23: error: expression list treated as compound expression in initializer [-fpermissive]
int cmp(pair x, pair y)
^
user.cpp:7:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
user.cpp: In function ‘int main()’:
user.cpp:19:25: error: ‘sort’ was not declared in this scope
sort(x+1, x+n+1, cmp);
^
user.cpp:21:5: error: ‘ns1’ was not declared in this scope
ns1=ns2[1]=1;
^
user.cpp:21:9: error: ‘ns2’ was not declared in this scope
ns1=ns2[1]=1;
^
user.cpp:33:13: error: ‘sl’ was not declared in this scope
sl[++ns1][++ns2[ns1]]=x[i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !