Borderou de evaluare (job #1177941)
Utilizator | Data | 26 aprilie 2014 13:55:54 | |
---|---|---|---|
Problema | Dans | Status | done |
Runda | ONIS 2014, Runda 4 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:10:42: error: ‘typeof’ was not declared in this scope
#define TR( C, it ) for( typeof(C.begin()) it = C.begin(); it != C.end(); it++ )
^
user.cpp:63:9: note: in expansion of macro ‘TR’
TR( G[v], w )
^
user.cpp:63:19: error: expected ‘;’ before ‘w’
TR( G[v], w )
^
user.cpp:10:44: note: in definition of macro ‘TR’
#define TR( C, it ) for( typeof(C.begin()) it = C.begin(); it != C.end(); it++ )
^
user.cpp:63:19: error: ‘w’ was not declared in this scope
TR( G[v], w )
^
user.cpp:10:60: note: in definition of macro ‘TR’
#define TR( C, it ) for( typeof(C.begin()) it = C.begin(); it != C.end(); it++ )
^
user.cpp: In function ‘void sterge(int, int)’:
user.cpp:10:42: error: ‘typeof’ was not declared in this scope
#define TR( C, it ) for( typeof(C.begin()) it = C.begin(); it != C.end(); it++ )
^
user.cpp:90:5: note: in expansion of macro ‘TR’
TR( G[w], it )
^
user.cpp:90:15: error: expected ‘;’ before ‘it’
TR( G[w], it )
^
user.cpp:10:44: note: in definition of macro ‘TR’
#define TR( C, it ) for( typeof(C.begin()) it = C.begin(); it != C.end(); it++ )
^
user.cpp:90:15: error: ‘it’ was not declared in this scope
TR( G[w], it )
^
user.cpp:10:60: note: in definition of macro ‘TR’
#define TR( C, it ) for( typeof(C.begin()) it = C.begin(); it != C.end(); it++ )
^
user.cpp: In function ‘void scr(int)’:
user.cpp:10:42: error: ‘typeof’ was not declared in this scope
#define TR( C, it ) for( typeof(C.begin()) it = C.begin(); it != C.end(); it++ )
^
user.cpp:123:9: note: in expansion of macro ‘TR’
TR( L, v )
^
user.cpp:123:16: error: expected ‘;’ before ‘v’
TR( L, v )
^
user.cpp:10:44: note: in definition of macro ‘TR’
#define TR( C, it ) for( typeof(C.begin()) it = C.begin(); it != C.end(); it++ )
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !