Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::distance(int, int)':
/in/shortestP2P.hpp:189:62: error: no matching function for call to 'ShortestP2P::FloydWarshall(int&, int&, int&, std::vector<std::vector<int> >&)'
           int shortestPath = FloydWarshall(A, B, V, adjMatrix);
                                                              ^
/in/shortestP2P.hpp:199:9: note: candidate: int ShortestP2P::FloydWarshall(int, int)
     int FloydWarshall(int S, int T){
         ^~~~~~~~~~~~~
/in/shortestP2P.hpp:199:9: note:   candidate expects 2 arguments, 4 provided
/in/shortestP2P.hpp: In member function 'bool ShortestP2P::isValidGraph(int)':
/in/shortestP2P.hpp:218:5: error: control reaches end of non-void function [-Werror=return-type]
     }
     ^
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Language
C++
Submit At
2024-08-10 00:07:57
Judged At
2024-08-10 00:07:57
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes