Borderou de evaluare (job #3298820)
Utilizator | Data | 2 iunie 2025 10:08:44 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'int EdmonsKarp::bfs(int, int, std::vector<int>&)':
main.cpp:26:48: error: incomplete type 'std::numeric_limits<int>' used in nested name specifier
26 | q.emplace(s, std::numeric_limits<int>::max());
| ^~~
main.cpp: In member function 'int EdmonsKarp::MaxFlow(int, int)':
main.cpp:48:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
48 | for (int new_flow = 0; new_flow = bfs(s, t, par); flow += new_flow) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !