Pagini recente » Borderou de evaluare (job #553731) | Borderou de evaluare (job #2553697) | Borderou de evaluare (job #1293581) | Borderou de evaluare (job #683326) | Borderou de evaluare (job #2828243)
Borderou de evaluare (job #2828243)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::bfs(int)':
main.cpp:155:13: warning: unused variable 'prim' [-Wunused-variable]
155 | int prim, ultim, i;
| ^~~~
main.cpp:155:19: warning: unused variable 'ultim' [-Wunused-variable]
155 | int prim, ultim, i;
| ^~~~~
main.cpp:155:26: warning: unused variable 'i' [-Wunused-variable]
155 | int prim, ultim, i;
| ^
main.cpp: In member function 'void Graph::getSSCComponents()':
main.cpp:262:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
262 | for(int i = 0; i < sscComponents.size() ;++i){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:250:13: warning: unused variable 'sscCounter' [-Wunused-variable]
250 | int sscCounter = 0;
| ^~~~~~~~~~
main.cpp: In static member function 'static bool Graph::graphExists(std::vector<int>&)':
main.cpp:348:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
348 | if ( firstEl > a.size() ) return false;
| ~~~~~~~~^~~~~~~~~~
main.cpp: In member function 'int Graph::maxFlow(int, int)':
main.cpp:459:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
459 | while (new_flow = this->bfsMF(s, t, parent)) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:558:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
558 | for(int i = 0; i < res.size() - 1; ++i)
| ~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
2 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
3 | 6ms | 462kb | Raspuns corect! | 10 | 10 |
4 | 45ms | 2596kb | Raspuns corect! | 10 | 10 |
5 | 111ms | 5414kb | Raspuns corect! | 10 | 10 |
6 | 416ms | 16715kb | Raspuns corect! | 10 | 10 |
7 | 111ms | 5861kb | Raspuns corect! | 10 | 20 |
8 | 551ms | 22155kb | Raspuns corect! | 10 |
9 | 486ms | 27271kb | Raspuns corect! | 10 | 20 |
10 | 674ms | 27627kb | Raspuns corect! | 10 |
Punctaj total | 100 |