Borderou de evaluare (job #3193556)
Utilizator | Data | 14 ianuarie 2024 21:45:56 | |
---|---|---|---|
Problema | Senat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int bfs()':
main.cpp:23:23: error: 'INT_MAX' was not declared in this scope
23 | int flux_curent = INT_MAX;
| ^~~~~~~
main.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
5 | #include <fstream>
+++ |+#include <climits>
6 | using namespace std;
main.cpp: In function 'void Edmonds_Karp()':
main.cpp:61:19: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
61 | if(rez.size() != m) { //daca nu toate comisiile au presedinte
| ~~~~~~~~~~~^~~~
main.cpp:66:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for(int i = 0; i < rez.size(); ++i) {
| ~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:78:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | for(int k = 0; k < line.size(); k++) {
| ~~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !