Borderou de evaluare (job #3031116)
Utilizator | Data | 18 martie 2023 19:20:02 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:26: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
26 | #pragma warning(disable : 4996)
|
main.cpp: In member function 'int MaxFlow::max_flow(int, int)':
main.cpp:766:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
766 | while (flow = dfs(src, dst)) {
| ~~~~~^~~~~~~~~~~~~~~
main.cpp: In function 'void solve(int)':
main.cpp:821:24: error: no matching function for call to 'MaxFlow::reconstruct()'
821 | network.reconstruct();
| ~~~~~~~~~~~~~~~~~~~^~
main.cpp:788:10: note: candidate: 'void MaxFlow::reconstruct(int, int, int)'
788 | void reconstruct(int src, int dst, int max_flow) {
| ^~~~~~~~~~~
main.cpp:788:10: note: candidate expects 3 arguments, 0 provided
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !