Borderou de evaluare (job #3193558)
Utilizator | Data | 14 ianuarie 2024 21:47:48 | |
---|---|---|---|
Problema | Senat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Edmonds_Karp()':
main.cpp:65: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]
65 | if(rez.size() != m) { //daca nu toate comisiile au presedinte
| ~~~~~~~~~~~^~~~
main.cpp:70:5: error: 'sort' was not declared in this scope; did you mean 'short'?
70 | sort(rez.begin(), rez.end(), compara);
| ^~~~
| short
main.cpp:72: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]
72 | for(int i = 0; i < rez.size(); ++i) {
| ~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:84:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | 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 !