Borderou de evaluare (job #953043)
Utilizator | Darie Sergiu primul | Data | 24 mai 2013 18:14:53 |
---|---|---|---|
Problema | Algola | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool bfs()’:
user.cpp:8:41: error: ‘typeof’ was not declared in this scope
#define forEach(G) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:40:9: note: in expansion of macro ‘forEach’
forEach(G[nod]){
^
user.cpp:8:43: error: expected ‘;’ before ‘it’
#define forEach(G) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:40:9: note: in expansion of macro ‘forEach’
forEach(G[nod]){
^
user.cpp:8:60: error: ‘it’ was not declared in this scope
#define forEach(G) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:40:9: note: in expansion of macro ‘forEach’
forEach(G[nod]){
^
user.cpp: In function ‘void flux()’:
user.cpp:8:41: error: ‘typeof’ was not declared in this scope
#define forEach(G) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:55:9: note: in expansion of macro ‘forEach’
forEach(G[_sink]){
^
user.cpp:8:43: error: expected ‘;’ before ‘it’
#define forEach(G) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:55:9: note: in expansion of macro ‘forEach’
forEach(G[_sink]){
^
user.cpp:8:60: error: ‘it’ was not declared in this scope
#define forEach(G) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:55:9: note: in expansion of macro ‘forEach’
forEach(G[_sink]){
^
user.cpp: In function ‘void extra(int)’:
user.cpp:8:41: error: ‘typeof’ was not declared in this scope
#define forEach(G) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:78:9: note: in expansion of macro ‘forEach’
forEach(original[i]){
^
user.cpp:8:43: error: expected ‘;’ before ‘it’
#define forEach(G) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:78:9: note: in expansion of macro ‘forEach’
forEach(original[i]){
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !