Borderou de evaluare (job #3190603)
Utilizator | Data | 7 ianuarie 2024 19:11:32 | |
---|---|---|---|
Problema | Senat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'int Graph<T, U, directed, storeParents>::edmondKarp(const size_t&, const size_t&, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)':
main.cpp:558:21: error: 'INT_MAX' was not declared in this scope
558 | minFlow=INT_MAX;
| ^~~~~~~
main.cpp:29:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
28 | #include <unordered_set>
+++ |+#include <climits>
29 |
main.cpp: In function 'int main()':
main.cpp:686:27: warning: comparison of integer expressions of different signedness: 'std::unordered_set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
686 | if (presidents.size() < M) {
| ~~~~~~~~~~~~~~~~~~^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !