Borderou de evaluare (job #986813)

Utilizator florin.elfusFlorin Elfus florin.elfus Data 19 august 2013 15:51:56
Problema Amici2 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:23:44: error: ‘typeof’ was not declared in this scope #define FOREACH(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); ++i) ^ user.cpp:61:13: note: in expansion of macro ‘FOREACH’ FOREACH(it, G[Q[p]]) ^ user.cpp:61:21: error: expected ‘;’ before ‘it’ FOREACH(it, G[Q[p]]) ^ user.cpp:23:46: note: in definition of macro ‘FOREACH’ #define FOREACH(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); ++i) ^ user.cpp:61:21: error: ‘it’ was not declared in this scope FOREACH(it, G[Q[p]]) ^ user.cpp:23:61: note: in definition of macro ‘FOREACH’ #define FOREACH(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); ++i) ^

Ceva nu functioneaza?