Pagini recente » Borderou de evaluare (job #2564926) | Borderou de evaluare (job #2908579) | Borderou de evaluare (job #623985) | Borderou de evaluare (job #1062280) | Borderou de evaluare (job #3186616)
Borderou de evaluare (job #3186616)
Raport evaluator
Compilare:
main.cpp: In function 'void printMatrix(const std::vector<std::vector<int> >&)':
main.cpp:11:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int i = 0 ; i < m.size() ; i++){
| ~~^~~~~~~~~~
main.cpp:13:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int j = 0 ; j < m[i].size() ; j++)
| ~~^~~~~~~~~~~~~
main.cpp: In member function 'int MaxFlowGraph::bfs(const int&, const int&, std::vector<int>&)':
main.cpp:72:13: warning: unused variable 'flow' [-Wunused-variable]
72 | int flow = q.front().second;
| ^~~~
main.cpp: In member function 'void Solution::Senat()':
main.cpp:148:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
148 | 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:81:25: warning: 'newFlow' may be used uninitialized [-Wmaybe-uninitialized]
81 | 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 | 0ms | 557kb | Incorect! | 0 |
3 | 0ms | 303kb | Incorect! | 0 |
4 | 0ms | 557kb | Incorect! | 0 |
5 | 0ms | 819kb | Incorect! | 0 |
6 | 0ms | 823kb | Incorect! | 0 |
7 | 0ms | 1081kb | Incorect! | 0 |
8 | 0ms | 1081kb | Incorect! | 0 |
9 | 0ms | 303kb | Incorect! | 0 |
10 | 0ms | 819kb | S-a respectat legea! | 10 |
Punctaj total | 10 |