Borderou de evaluare (job #1231927)

Utilizator DenisacheDenis Ehorovici Denisache Data 21 septembrie 2014 18:56:21
Problema Ciclu Eulerian Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void BFS(int)’: user.cpp:18:41: error: ‘typeof’ was not declared in this scope #define forA(V,it) for (typeof(V.begin()) it=V.begin();it!=V.end();it++) ^ user.cpp:44:9: note: in expansion of macro ‘forA’ forA(G[nod],it) ^ user.cpp:44:21: error: expected ‘;’ before ‘it’ forA(G[nod],it) ^ user.cpp:18:43: note: in definition of macro ‘forA’ #define forA(V,it) for (typeof(V.begin()) it=V.begin();it!=V.end();it++) ^ user.cpp:44:21: error: ‘it’ was not declared in this scope forA(G[nod],it) ^ user.cpp:18:56: note: in definition of macro ‘forA’ #define forA(V,it) for (typeof(V.begin()) it=V.begin();it!=V.end();it++) ^ user.cpp: In function ‘void del(int, int)’: user.cpp:18:41: error: ‘typeof’ was not declared in this scope #define forA(V,it) for (typeof(V.begin()) it=V.begin();it!=V.end();it++) ^ user.cpp:65:5: note: in expansion of macro ‘forA’ forA(G[y],it) ^ user.cpp:65:15: error: expected ‘;’ before ‘it’ forA(G[y],it) ^ user.cpp:18:43: note: in definition of macro ‘forA’ #define forA(V,it) for (typeof(V.begin()) it=V.begin();it!=V.end();it++) ^ user.cpp:65:15: error: ‘it’ was not declared in this scope forA(G[y],it) ^ user.cpp:18:56: note: in definition of macro ‘forA’ #define forA(V,it) for (typeof(V.begin()) it=V.begin();it!=V.end();it++) ^ user.cpp: In function ‘void write(int)’: user.cpp:18:41: error: ‘typeof’ was not declared in this scope #define forA(V,it) for (typeof(V.begin()) it=V.begin();it!=V.end();it++) ^ user.cpp:100:10: note: in expansion of macro ‘forA’ else forA(L,it) printf("%d ",*it); ^ user.cpp:100:17: error: expected ‘;’ before ‘it’ else forA(L,it) printf("%d ",*it); ^ user.cpp:18:43: note: in definition of macro ‘forA’ #define forA(V,it) for (typeof(V.begin()) it=V.begin();it!=V.end();it++)

Ceva nu functioneaza?