Borderou de evaluare (job #2401641)

Utilizator alexalghisiAlghisi Alessandro Paolo alexalghisi Data 9 aprilie 2019 21:21:35
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:10:33: error: 'typeof' was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ main.cpp:39:2: note: in expansion of macro 'foreach' foreach(G[nod]) ^~~~~~~ main.cpp:10:61: error: 'it' was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ main.cpp:39:2: note: in expansion of macro 'foreach' foreach(G[nod]) ^~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?