Borderou de evaluare (job #1081110)

Utilizator CatalinaRaduCatalina Elena Radu CatalinaRadu Data 13 ianuarie 2014 09:58:23
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 df(int, int)’: user.cpp:12:32: error: ‘typeof’ was not declared in this scope #define foreach(V) for(typeof(V).begin() it=(V).begin();it!=V.end();++it) ^ user.cpp:34:6: note: in expansion of macro ‘foreach’ foreach(A[nod]) ^ user.cpp:12:42: error: expected ‘;’ before ‘it’ #define foreach(V) for(typeof(V).begin() it=(V).begin();it!=V.end();++it) ^ user.cpp:34:6: note: in expansion of macro ‘foreach’ foreach(A[nod]) ^ user.cpp:12:57: error: ‘it’ was not declared in this scope #define foreach(V) for(typeof(V).begin() it=(V).begin();it!=V.end();++it) ^ user.cpp:34:6: note: in expansion of macro ‘foreach’ foreach(A[nod]) ^

Ceva nu functioneaza?