Borderou de evaluare (job #1438320)

Utilizator Nan_Mihai_324CCNan Mihai Nan_Mihai_324CC Data 19 mai 2015 17:16:42
Problema Ciclu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool check(double)’: user.cpp:8: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:30:17: note: in expansion of macro ‘FORIT’ FORIT(it, A[ret]) ^ user.cpp:30:23: error: expected ‘;’ before ‘it’ FORIT(it, A[ret]) ^ user.cpp:8:47: note: in definition of macro ‘FORIT’ #define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); it++ ) ^ user.cpp:30:23: error: ‘it’ was not declared in this scope FORIT(it, A[ret]) ^ user.cpp:8:65: note: in definition of macro ‘FORIT’ #define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); it++ ) ^

Ceva nu functioneaza?