Borderou de evaluare (job #989770)

Utilizator toranagahVlad Badelita toranagah Data 26 august 2013 14:16:26
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool dfs(int)’: user.cpp:8:44: error: ‘typeof’ was not declared in this scope #define FORIT(it, v) for(typeof((v).begin())it=(v).begin();it!=(v).end();++it) ^ user.cpp:60:5: note: in expansion of macro ‘FORIT’ FORIT (it, graph[node]) { ^ user.cpp:60:12: error: expected ‘;’ before ‘it’ FORIT (it, graph[node]) { ^ user.cpp:8:45: note: in definition of macro ‘FORIT’ #define FORIT(it, v) for(typeof((v).begin())it=(v).begin();it!=(v).end();++it) ^ user.cpp:60:12: error: ‘it’ was not declared in this scope FORIT (it, graph[node]) { ^ user.cpp:8:60: note: in definition of macro ‘FORIT’ #define FORIT(it, v) for(typeof((v).begin())it=(v).begin();it!=(v).end();++it) ^

Ceva nu functioneaza?