Borderou de evaluare (job #999043)

Utilizator florin.elfusFlorin Elfus florin.elfus Data 18 septembrie 2013 23:18:14
Problema Rps Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:9: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:125:9: note: in expansion of macro ‘FORIT’ FORIT(it, s) ^ user.cpp:125:15: error: expected ‘;’ before ‘it’ FORIT(it, s) ^ user.cpp:9:47: note: in definition of macro ‘FORIT’ #define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it) ^ user.cpp:125:15: error: ‘it’ was not declared in this scope FORIT(it, s) ^ user.cpp:9: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?