Borderou de evaluare (job #2814400)
Utilizator | Data | 8 decembrie 2021 00:21:54 | |
---|---|---|---|
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 sendFlow(std::vector<std::vector<int> >&, std::vector<int>&, std::vector<int>&, int, int, int)':
main.cpp:49:18: 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]
49 | if (count[u] == residualGraph[u].size())
main.cpp: In function 'int dinic_algorithm(std::vector<std::vector<int> >&, int, int)':
main.cpp:86:79: error: 'INT_MAX' was not declared in this scope
86 | while (int flow = sendFlow(residualGraph, level, count, source, sink, INT_MAX))
| ^~~~~~~
main.cpp:5:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
4 | #include <fstream>
+++ |+#include <climits>
5 |
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !