Borderou de evaluare (job #947828)
Utilizator | Data | 8 mai 2013 16:58:53 | |
---|---|---|---|
Problema | Zone 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void clear_redundant()’:
user.cpp:11:43: 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:122:5: note: in expansion of macro ‘FORIT’
FORIT (it, graph[node]) {
^
user.cpp:122:12: error: expected ‘;’ before ‘it’
FORIT (it, graph[node]) {
^
user.cpp:11:44: note: in definition of macro ‘FORIT’
#define FORIT(it,v) for(typeof((v).begin())it=(v).begin();it!=(v).end();++it)
^
user.cpp:122:12: error: ‘it’ was not declared in this scope
FORIT (it, graph[node]) {
^
user.cpp:11:59: note: in definition of macro ‘FORIT’
#define FORIT(it,v) for(typeof((v).begin())it=(v).begin();it!=(v).end();++it)
^
user.cpp: In function ‘int dfs2(int)’:
user.cpp:11:43: 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:136:3: note: in expansion of macro ‘FORIT’
FORIT (it, graph[node]) {
^
user.cpp:136:10: error: expected ‘;’ before ‘it’
FORIT (it, graph[node]) {
^
user.cpp:11:44: note: in definition of macro ‘FORIT’
#define FORIT(it,v) for(typeof((v).begin())it=(v).begin();it!=(v).end();++it)
^
user.cpp:136:10: error: ‘it’ was not declared in this scope
FORIT (it, graph[node]) {
^
user.cpp:11:59: 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 !