Borderou de evaluare (job #985724)

Utilizator florin.elfusFlorin Elfus florin.elfus Data 17 august 2013 13:25:11
Problema Treemis Status done
Runda Concursul Mihai Patrascu 2013 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void DFS(int)’: 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:50:5: note: in expansion of macro ‘FOREACH’ FOREACH(it, G[node]) ^ user.cpp:50:13: error: expected ‘;’ before ‘it’ FOREACH(it, G[node]) ^ 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:50:13: error: ‘it’ was not declared in this scope FOREACH(it, G[node]) ^ 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?