Borderou de evaluare (job #2814124)

Utilizator mentolnothingmoreNegrut Maria Daniela mentolnothingmore Data 7 decembrie 2021 16:56:54
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

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:813:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 813 | if (rez.size() != _nr_vertex + 1) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void infoarenaBellmanFord()': main.cpp:1003:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1003 | if (sol.size() != n - 1) | ~~~~~~~~~~~^~~~~~~~ main.cpp: In function 'int main()': main.cpp:1029:12: warning: unused variable 'm' [-Wunused-variable] 1029 | int n, m; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
150ms204kbTime limit exceeded0
254ms200kbTime limit exceeded0
350ms200kbTime limit exceeded0
454ms200kbTime limit exceeded0
550ms200kbTime limit exceeded0
650ms331kbTime limit exceeded0
750ms331kbTime limit exceeded0
854ms364kbTime limit exceeded0
950ms491kbTime limit exceeded0
1050ms442kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?