Borderou de evaluare (job #947843)

Utilizator veleanduAlex Velea veleandu Data 8 mai 2013 17:12:58
Problema Zone 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int df(int)’: user.cpp:7: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:62:2: note: in expansion of macro ‘FORIT’ FORIT( it,Vertex[nod] ) ^ user.cpp:62:9: error: expected ‘;’ before ‘it’ FORIT( it,Vertex[nod] ) ^ user.cpp:7:47: note: in definition of macro ‘FORIT’ #define FORIT( it,v) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it ) ^ user.cpp:62:9: error: ‘it’ was not declared in this scope FORIT( it,Vertex[nod] ) ^ user.cpp:7:63: 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 main()’: user.cpp:7: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:100:2: note: in expansion of macro ‘FORIT’ FORIT( it,Edge ){ ^ user.cpp:100:9: error: expected ‘;’ before ‘it’ FORIT( it,Edge ){ ^ user.cpp:7:47: note: in definition of macro ‘FORIT’ #define FORIT( it,v) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it ) ^ user.cpp:100:9: error: ‘it’ was not declared in this scope FORIT( it,Edge ){ ^ user.cpp:7:63: note: in definition of macro ‘FORIT’ #define FORIT( it,v) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it ) ^ user.cpp:7: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:123:3: note: in expansion of macro ‘FORIT’ FORIT( it,Vertex[mu] ){ ^ user.cpp:123:10: error: expected ‘;’ before ‘it’ FORIT( it,Vertex[mu] ){ ^ user.cpp:7:47: note: in definition of macro ‘FORIT’ #define FORIT( it,v) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it ) ^

Ceva nu functioneaza?