Pagini recente » Borderou de evaluare (job #2461242) | Borderou de evaluare (job #2087321) | Borderou de evaluare (job #1388619) | Borderou de evaluare (job #2089465) | Borderou de evaluare (job #2814132)
Borderou de evaluare (job #2814132)
Raport evaluator
Compilare:
main.cpp: In member function 'std::ifstream& Graph::matrixCost(std::ifstream&)':
main.cpp:113:1: warning: no return statement in function returning non-void [-Wreturn-type]
113 | }
| ^
main.cpp: In member function 'int Graph::_flowBfs(const std::vector<std::vector<int> >&, const int&, const int&, std::vector<int>&, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)':
main.cpp:520:18: warning: unused variable 'next' [-Wunused-variable]
520 | int current, next;
| ^~~~
main.cpp: In member function 'std::vector<int> Graph::BellmanFord()':
main.cpp:817:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
817 | if (rez.size() != _nr_vertex + 1)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void infoarenaBellmanFord()':
main.cpp:1007:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
1007 | if (sol.size() != n - 1)
| ~~~~~~~~~~~^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:1033:12: warning: unused variable 'm' [-Wunused-variable]
1033 | int n, m;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | OK | 10 |
6 | 2ms | 184kb | OK | 10 |
7 | 6ms | 286kb | OK | 10 |
8 | 6ms | 200kb | OK | 10 |
9 | 6ms | 200kb | OK | 10 |
10 | 11ms | 307kb | OK | 10 |
Punctaj total | 100 |