Borderou de evaluare (job #3190065)
Utilizator | Data | 6 ianuarie 2024 21:47:45 | |
---|---|---|---|
Problema | Taramul Nicaieri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int bfs(int, int)':
main.cpp:31:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for (int i=0; i<graf[nod].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int edmond_karp(int, int)':
main.cpp:62:14: error: 'INT_MAX' was not declared in this scope
62 | mini=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 | using namespace std;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !