Pagini recente » Borderou de evaluare (job #1376166) | Borderou de evaluare (job #2906758) | Borderou de evaluare (job #558405) | Borderou de evaluare (job #2278551) | Borderou de evaluare (job #2825624)
Borderou de evaluare (job #2825624)
Raport evaluator
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 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)) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | OK | 10 | 10 |
2 | 1ms | 184kb | OK | 10 | 10 |
3 | 2ms | 184kb | OK | 10 | 10 |
4 | 2ms | 184kb | OK | 10 | 10 |
5 | 2ms | 184kb | OK | 10 | 10 |
6 | 2ms | 184kb | Incorect | 0 | 0 |
7 | 6ms | 958kb | OK | 10 | 10 |
8 | 59ms | 2453kb | OK | 10 | 0 |
9 | 64ms | 3796kb | Time limit exceeded | 0 |
10 | 64ms | 4579kb | Time limit exceeded | 0 |
Punctaj total | 60 |