Borderou de evaluare (job #944958)

Utilizator howsiweiHow Si Wei howsiwei Data 30 aprilie 2013 05:14:30
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:6:41: error: ‘typeof’ was not declared in this scope #define ech(It, A) for (typeof(A.begin()) It = A.begin(); It != A.end(); ++It) ^ user.cpp:31:3: note: in expansion of macro ‘ech’ ech(it, adjl[u]) { ^ user.cpp:31:7: error: expected ‘;’ before ‘it’ ech(it, adjl[u]) { ^ user.cpp:6:43: note: in definition of macro ‘ech’ #define ech(It, A) for (typeof(A.begin()) It = A.begin(); It != A.end(); ++It) ^ user.cpp:31:7: error: ‘it’ was not declared in this scope ech(it, adjl[u]) { ^ user.cpp:6:59: note: in definition of macro ‘ech’ #define ech(It, A) for (typeof(A.begin()) It = A.begin(); It != A.end(); ++It) ^

Ceva nu functioneaza?