Borderou de evaluare (job #2962175)
Utilizator | Data | 7 ianuarie 2023 21:53:22 | |
---|---|---|---|
Problema | Cuplaj maxim in graf bipartit | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void ReadInputs()':
main.cpp:62:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for (int i = 0; i < adjList[node].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void EdmondsKarp()':
main.cpp:117:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
117 | if (node != (nodeCount - 1))
| ^
main.cpp: In function 'void Output()':
main.cpp:160:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
160 | sort(result.begin(), result.end());
| ^~~~
| qsort
main.cpp:161:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
161 | for (int i = 0; i < result.size(); i++) {
| ~~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !