Borderou de evaluare (job #2814132)

Utilizator mentolnothingmoreNegrut Maria Daniela mentolnothingmore Data 7 decembrie 2021 17:08:18
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

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
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK10
76ms286kbOK10
86ms200kbOK10
96ms200kbOK10
1011ms307kbOK10
Punctaj total100

Ceva nu functioneaza?