Borderou de evaluare (job #1145362)

Utilizator kiralalaChitoraga Dumitru kiralala Data 18 martie 2014 10:09:30
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:45: error: ‘typeof’ was not declared in this scope #define foreach(it,V) for(typeof((V).begin()) it = (V).begin(); it < (V).end(); ++(it)) ^ user.cpp:40:9: note: in expansion of macro ‘foreach’ foreach(it,G[where]) ^ user.cpp:40:17: error: expected ‘;’ before ‘it’ foreach(it,G[where]) ^ user.cpp:14:47: note: in definition of macro ‘foreach’ #define foreach(it,V) for(typeof((V).begin()) it = (V).begin(); it < (V).end(); ++(it)) ^ user.cpp:40:17: error: ‘it’ was not declared in this scope foreach(it,G[where]) ^ user.cpp:14:65: note: in definition of macro ‘foreach’ #define foreach(it,V) for(typeof((V).begin()) it = (V).begin(); it < (V).end(); ++(it)) ^ user.cpp: In function ‘void MaxFlow()’: user.cpp:14:45: error: ‘typeof’ was not declared in this scope #define foreach(it,V) for(typeof((V).begin()) it = (V).begin(); it < (V).end(); ++(it)) ^ user.cpp:55:9: note: in expansion of macro ‘foreach’ foreach(it,G[n]) ^ user.cpp:55:17: error: expected ‘;’ before ‘it’ foreach(it,G[n]) ^ user.cpp:14:47: note: in definition of macro ‘foreach’ #define foreach(it,V) for(typeof((V).begin()) it = (V).begin(); it < (V).end(); ++(it)) ^ user.cpp:55:17: error: ‘it’ was not declared in this scope foreach(it,G[n]) ^ user.cpp:14:65: note: in definition of macro ‘foreach’ #define foreach(it,V) for(typeof((V).begin()) it = (V).begin(); it < (V).end(); ++(it)) ^ user.cpp: In function ‘void ApplyColor(int)’: user.cpp:14:45: error: ‘typeof’ was not declared in this scope #define foreach(it,V) for(typeof((V).begin()) it = (V).begin(); it < (V).end(); ++(it)) ^ user.cpp:78:5: note: in expansion of macro ‘foreach’ foreach(it,G[x]) ^ user.cpp:78:13: error: expected ‘;’ before ‘it’ foreach(it,G[x]) ^ user.cpp:14:47: note: in definition of macro ‘foreach’ #define foreach(it,V) for(typeof((V).begin()) it = (V).begin(); it < (V).end(); ++(it))

Ceva nu functioneaza?