Borderou de evaluare (job #1805839)

Utilizator andreiugravuFMI Andrei Zugravu andreiugravu Data 14 noiembrie 2016 15:09:45
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void parcurgere_euler(int, int)’: user.cpp:8:33: error: ‘typeof’ was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ user.cpp:38:5: note: in expansion of macro ‘foreach’ foreach(tata[nod]) ^ user.cpp:8:43: error: expected ‘;’ before ‘it’ #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ user.cpp:38:5: note: in expansion of macro ‘foreach’ foreach(tata[nod]) ^ user.cpp:8:61: error: ‘it’ was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ user.cpp:38:5: note: in expansion of macro ‘foreach’ foreach(tata[nod]) ^

Ceva nu functioneaza?