Pagini recente » Borderou de evaluare (job #311485) | Borderou de evaluare (job #1545532) | Borderou de evaluare (job #1698333) | Borderou de evaluare (job #725109) | Borderou de evaluare (job #3186617)
Borderou de evaluare (job #3186617)
Raport evaluator
Compilare:
main.cpp: In member function 'int MaxFlowGraph::bfs(const int&, const int&, std::vector<int>&)':
main.cpp:83:13: warning: unused variable 'flow' [-Wunused-variable]
83 | int flow = q.front().second;
| ^~~~
main.cpp: In member function 'void Solution::Senat()':
main.cpp:155:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
155 | for(int j = 0 ; j < line.size() ; j++){
| ~~^~~~~~~~~~~~~
main.cpp: In member function 'int MaxFlowGraph::bfs(const int&, const int&, std::vector<int>&)':
main.cpp:92:25: warning: 'newFlow' may be used uninitialized [-Wmaybe-uninitialized]
92 | int newFlow = min(newFlow, this->capacity[current][next] - this->flow[current][next]);
| ^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect! | 0 |
2 | 1ms | 557kb | Incorect! | 0 |
3 | 0ms | 303kb | Incorect! | 0 |
4 | 1ms | 557kb | Incorect! | 0 |
5 | 2ms | 819kb | Incorect! | 0 |
6 | 1ms | 819kb | Incorect! | 0 |
7 | 2ms | 1081kb | Incorect! | 0 |
8 | 3ms | 1081kb | Incorect! | 0 |
9 | 0ms | 303kb | Incorect! | 0 |
10 | 2ms | 819kb | S-a respectat legea! | 10 |
Punctaj total | 10 |