Borderou de evaluare (job #2830423)
Utilizator | Data | 9 ianuarie 2022 21:27:27 | |
---|---|---|---|
Problema | Muzeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Graph::bfs(int)':
main.cpp:158:13: warning: unused variable 'prim' [-Wunused-variable]
158 | int prim, ultim, i;
| ^~~~
main.cpp:158:19: warning: unused variable 'ultim' [-Wunused-variable]
158 | int prim, ultim, i;
| ^~~~~
main.cpp:158:26: warning: unused variable 'i' [-Wunused-variable]
158 | int prim, ultim, i;
| ^
main.cpp: In member function 'void Graph::getSSCComponents()':
main.cpp:265:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
265 | for(int i = 0; i < sscComponents.size() ;++i){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:253:13: warning: unused variable 'sscCounter' [-Wunused-variable]
253 | int sscCounter = 0;
| ^~~~~~~~~~
main.cpp: In static member function 'static bool Graph::graphExists(std::vector<int>&)':
main.cpp:351:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
351 | if ( firstEl > a.size() ) return false;
| ~~~~~~~~^~~~~~~~~~
main.cpp: In member function 'std::pair<long long int, std::vector<std::pair<int, int> > > Graph::Kruskall()':
main.cpp:372:14: error: 'sort' is not a member of 'std'
372 | std::sort (this->edges.begin(), this->edges.end(), comparare_functie) ;
| ^~~~
main.cpp: In member function 'int Graph::maxFlow(int, int)':
main.cpp:462:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
462 | 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 !