Borderou de evaluare (job #1145488)

Utilizator kiralalaChitoraga Dumitru kiralala Data 18 martie 2014 11:09:15
Problema Critice Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int BFS()’: user.cpp:14: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:40:9: note: in expansion of macro ‘foreach’ foreach(G[where]) ^ user.cpp:14:43: error: expected ‘;’ before ‘it’ #define foreach(V) for(typeof (V).begin() it = (V).begin(); it < (V).end(); ++it) ^ user.cpp:40:9: note: in expansion of macro ‘foreach’ foreach(G[where]) ^ user.cpp:14: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:40:9: note: in expansion of macro ‘foreach’ foreach(G[where]) ^ user.cpp: In function ‘void MaxFlow()’: user.cpp:14: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:55:9: note: in expansion of macro ‘foreach’ foreach(G[n]) ^ user.cpp:14:43: error: expected ‘;’ before ‘it’ #define foreach(V) for(typeof (V).begin() it = (V).begin(); it < (V).end(); ++it) ^ user.cpp:55:9: note: in expansion of macro ‘foreach’ foreach(G[n]) ^ user.cpp:14: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:55:9: note: in expansion of macro ‘foreach’ foreach(G[n]) ^ user.cpp: In function ‘void ApplyColor(int)’: user.cpp:14: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:78:5: note: in expansion of macro ‘foreach’ foreach(G[x]) ^ user.cpp:14:43: error: expected ‘;’ before ‘it’ #define foreach(V) for(typeof (V).begin() it = (V).begin(); it < (V).end(); ++it) ^ user.cpp:78:5: note: in expansion of macro ‘foreach’ foreach(G[x])

Ceva nu functioneaza?