Borderou de evaluare (job #2881842)
Utilizator | Data | 30 martie 2022 22:25:11 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int dfs(int, int, int)':
main.cpp:46:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for ( ; start[u] < G[u].size(); start[u]++ )
| ~~~~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int Dinic(int, int)':
main.cpp:72:38: error: 'INT_MAX' was not declared in this scope
72 | while ( int flow = dfs(s, t, INT_MAX) )
| ^~~~~~~
main.cpp:7:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
6 | #include <cstring>
+++ |+#include <climits>
7 |
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !