Pagini recente » Borderou de evaluare (job #416531) | Borderou de evaluare (job #1793214) | Borderou de evaluare (job #895555) | Borderou de evaluare (job #3240447) | Borderou de evaluare (job #2825634)
Borderou de evaluare (job #2825634)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::bfs(int)':
main.cpp:144:13: warning: unused variable 'prim' [-Wunused-variable]
144 | int prim, ultim, i;
| ^~~~
main.cpp:144:19: warning: unused variable 'ultim' [-Wunused-variable]
144 | int prim, ultim, i;
| ^~~~~
main.cpp:144:26: warning: unused variable 'i' [-Wunused-variable]
144 | int prim, ultim, i;
| ^
main.cpp: In member function 'void Graph::getSSCComponents()':
main.cpp:251:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
251 | for(int i = 0; i < sscComponents.size() ;++i){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:239:13: warning: unused variable 'sscCounter' [-Wunused-variable]
239 | int sscCounter = 0;
| ^~~~~~~~~~
main.cpp: In static member function 'static bool Graph::graphExists(std::vector<int>&)':
main.cpp:337:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
337 | if ( firstEl > a.size() ) return false;
| ~~~~~~~~^~~~~~~~~~
main.cpp: In member function 'int Graph::maxFlow(int, int)':
main.cpp:448:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
448 | while (new_flow = this->bfsMF(s, t, parent)) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | OK | 10 |
6 | 6ms | 278kb | OK | 10 |
7 | 6ms | 286kb | OK | 10 |
8 | 6ms | 249kb | OK | 10 |
9 | 6ms | 294kb | OK | 10 |
10 | 11ms | 380kb | OK | 10 |
Punctaj total | 100 |