Borderou de evaluare (job #3363262)
| Utilizator | Data | 14 august 2026 18:07:28 | |
|---|---|---|---|
| Problema | Flux maxim | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:9:17: error: 'INT_MAX' was not declared in this scope
9 | const int inf = INT_MAX;
| ^~~~~~~
main.cpp:5:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
4 | #include <algorithm>
+++ |+#include <climits>
5 |
main.cpp: In function 'int sendFlow(int, int, int, Graph&, std::vector<int>&, std::vector<int>&)':
main.cpp:33:23: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if (count[source] == residualGraph[source].size()) /// evit din timp un dead end
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
