Borderou de evaluare (job #2825619)
Utilizator | Data | 4 ianuarie 2022 22:11:17 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Graph::bfs(int)':
main.cpp:143:13: warning: unused variable 'prim' [-Wunused-variable]
143 | int prim, ultim, i;
| ^~~~
main.cpp:143:19: warning: unused variable 'ultim' [-Wunused-variable]
143 | int prim, ultim, i;
| ^~~~~
main.cpp:143:26: warning: unused variable 'i' [-Wunused-variable]
143 | int prim, ultim, i;
| ^
main.cpp: In member function 'void Graph::getSSCComponents()':
main.cpp:250:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
250 | for(int i = 0; i < sscComponents.size() ;++i){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:238:13: warning: unused variable 'sscCounter' [-Wunused-variable]
238 | int sscCounter = 0;
| ^~~~~~~~~~
main.cpp: In member function 'void Graph::BCComponents()':
main.cpp:304:29: error: 'unique' was not declared in this scope
304 | component.erase(unique(component.begin(), component.end()), component.end());
| ^~~~~~
main.cpp: In static member function 'static bool Graph::graphExists(std::vector<int>&)':
main.cpp:336:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
336 | if ( firstEl > a.size() ) return false;
| ~~~~~~~~^~~~~~~~~~
main.cpp: In member function 'int Graph::maxFlow(int, int)':
main.cpp:447:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
447 | while (new_flow = this->bfsMF(s, t, parent)) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !