Borderou de evaluare (job #1824761)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 8 decembrie 2016 13:20:08
Problema Flux maxim de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void bellman()’: user.cpp:24:13: warning: unused variable ‘nod’ [-Wunused-variable] int nod = q.front (); ^ user.cpp: In function ‘int main()’: user.cpp:50:22: error: ‘dijkstra’ was not declared in this scope for (; dijkstra ();) ^ user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("fmcm.in", "r", stdin); ^ user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("fmcm.out", "w", stdout); ^ user.cpp:34:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d %d", &n, &m, &s, &d); ^ user.cpp:39:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d %d", &x, &y, &cap, &cst); ^

Ceva nu functioneaza?