Borderou de evaluare (job #1077061)
Utilizator | Data | 10 ianuarie 2014 20:49:14 | |
---|---|---|---|
Problema | Sate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:11:45: error: ‘typeof’ was not declared in this scope
#define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it)
^
user.cpp:36:9: note: in expansion of macro ‘FORIT’
FORIT(it, graph[node]) {
^
user.cpp:36:15: error: expected ‘;’ before ‘it’
FORIT(it, graph[node]) {
^
user.cpp:11:47: note: in definition of macro ‘FORIT’
#define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it)
^
user.cpp:36:15: error: ‘it’ was not declared in this scope
FORIT(it, graph[node]) {
^
user.cpp:11:65: note: in definition of macro ‘FORIT’
#define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !