Pagini recente » Borderou de evaluare (job #2630583) | Borderou de evaluare (job #2475922) | Borderou de evaluare (job #527459) | Borderou de evaluare (job #1572878) | Borderou de evaluare (job #2825656)
Borderou de evaluare (job #2825656)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::bfs(int)':
main.cpp:149:13: warning: unused variable 'prim' [-Wunused-variable]
149 | int prim, ultim, i;
| ^~~~
main.cpp:149:19: warning: unused variable 'ultim' [-Wunused-variable]
149 | int prim, ultim, i;
| ^~~~~
main.cpp:149:26: warning: unused variable 'i' [-Wunused-variable]
149 | int prim, ultim, i;
| ^
main.cpp: In member function 'void Graph::getSSCComponents()':
main.cpp:256:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
256 | for(int i = 0; i < sscComponents.size() ;++i){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:244:13: warning: unused variable 'sscCounter' [-Wunused-variable]
244 | int sscCounter = 0;
| ^~~~~~~~~~
main.cpp: In static member function 'static bool Graph::graphExists(std::vector<int>&)':
main.cpp:342:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
342 | if ( firstEl > a.size() ) return false;
| ~~~~~~~~^~~~~~~~~~
main.cpp: In member function 'int Graph::maxFlow(int, int)':
main.cpp:453:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
453 | 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 | 11ms | 897kb | OK | 10 |
6 | 40ms | 2383kb | OK | 10 |
7 | 68ms | 3403kb | OK | 10 |
8 | 116ms | 5070kb | OK | 10 |
9 | 83ms | 7938kb | OK | 10 |
10 | 158ms | 6549kb | OK | 10 |
Punctaj total | 100 |