Borderou de evaluare (job #1437433)

Utilizator nytr0gennytr0gen nytr0gen Data 17 mai 2015 18:43:46
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int findPath(int, int)’: user.cpp:14:2: error: ‘bitset’ was not declared in this scope bitset<NMAX> visited; ^ user.cpp:14:15: error: ‘visited’ was not declared in this scope bitset<NMAX> visited; ^ user.cpp: In function ‘int main()’: user.cpp:76:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxflow.in", "r", stdin); ^ user.cpp:77:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxflow.out", "w", stdout); ^ user.cpp:79:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int N, M; scanf("%d %d", &N, &M); ^ user.cpp:82:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &x, &y, &c); ^

Ceva nu functioneaza?