Pagini recente » Borderou de evaluare (job #2948449) | Borderou de evaluare (job #1871680) | Borderou de evaluare (job #348803) | Borderou de evaluare (job #1890606) | Borderou de evaluare (job #2830395)
Borderou de evaluare (job #2830395)
Raport evaluator
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 '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)) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 188kb | Corect | 10 |
2 | 2ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 |
5 | 2ms | 184kb | Corect | 10 |
6 | 120ms | 65552kb | Memory limit exceeded | 0 |
7 | 119ms | 65556kb | Memory limit exceeded | 0 |
8 | 123ms | 65556kb | Memory limit exceeded | 0 |
9 | 212ms | 32948kb | Corect | 10 |
10 | 119ms | 65556kb | Memory limit exceeded | 0 |
Punctaj total | 60 |