Borderou de evaluare (job #1197181)
Utilizator | Data | 10 iunie 2014 23:22:04 | |
---|---|---|---|
Problema | Domino | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:9: error: ‘muchie’ was not declared in this scope
vector <muchie>::iterator it;
^
user.cpp:10:15: error: template argument 1 is invalid
vector <muchie>::iterator it;
^
user.cpp:10:15: error: template argument 2 is invalid
user.cpp:10:27: error: expected initializer before ‘it’
vector <muchie>::iterator it;
^
user.cpp:11:9: error: ‘muchie’ was not declared in this scope
vector <muchie> a[12];
^
user.cpp:11:15: error: template argument 1 is invalid
vector <muchie> a[12];
^
user.cpp:11:15: error: template argument 2 is invalid
user.cpp:11:22: error: invalid type in declaration before ‘;’ token
vector <muchie> a[12];
^
user.cpp: In function ‘void citire()’:
user.cpp:22:14: error: request for member ‘push_back’ in ‘a[k]’, which is of non-class type ‘int’
a[k].push_back(t);
^
user.cpp:24:14: error: request for member ‘push_back’ in ‘a[l]’, which is of non-class type ‘int’
a[l].push_back(t);
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:33:9: error: ‘it’ was not declared in this scope
for(it=a[n].begin();it!=a[n].end();it++)
^
user.cpp:33:17: error: request for member ‘begin’ in ‘a[n]’, which is of non-class type ‘int’
for(it=a[n].begin();it!=a[n].end();it++)
^
user.cpp:33:34: error: request for member ‘end’ in ‘a[n]’, which is of non-class type ‘int’
for(it=a[n].begin();it!=a[n].end();it++)
^
user.cpp: In function ‘bool ok()’:
user.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !