Borderou de evaluare (job #1211459)
Utilizator | Data | 22 iulie 2014 17:12:21 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:1: error: ‘int’ is not a template
int <vector> a[nmax];
^
user.cpp: In function ‘void read()’:
user.cpp:17:10: error: ‘n’ was not declared in this scope
cin>>n>>m;
^
user.cpp:17:13: error: ‘m’ was not declared in this scope
cin>>n>>m;
^
user.cpp:22:14: error: request for member ‘push_back’ in ‘a[x]’, which is of non-class type ‘int’
a[x].push_back(y);
^
user.cpp:23:14: error: request for member ‘push_back’ in ‘a[y]’, which is of non-class type ‘int’
a[y].push_back(x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !