Borderou de evaluare (job #955008)

Utilizator veleanduAlex Velea veleandu Data 30 mai 2013 17:31:55
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void tarjan(int)’: user.cpp:8:46: 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:32:2: note: in expansion of macro ‘FORIT’ FORIT( it, Vertex[nod] ){ ^ user.cpp:32:9: error: expected ‘;’ before ‘it’ FORIT( it, Vertex[nod] ){ ^ user.cpp:8:48: note: in definition of macro ‘FORIT’ #define FORIT( it,v ) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it ) ^ user.cpp:32:9: error: ‘it’ was not declared in this scope FORIT( it, Vertex[nod] ){ ^ user.cpp:8:64: 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:8:46: 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:70:3: note: in expansion of macro ‘FORIT’ FORIT( it, Ctc[i] ) ^ user.cpp:70:10: error: expected ‘;’ before ‘it’ FORIT( it, Ctc[i] ) ^ user.cpp:8:48: note: in definition of macro ‘FORIT’ #define FORIT( it,v ) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it ) ^ user.cpp:70:10: error: ‘it’ was not declared in this scope FORIT( it, Ctc[i] ) ^ user.cpp:8:64: note: in definition of macro ‘FORIT’ #define FORIT( it,v ) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it ) ^

Ceva nu functioneaza?