Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'int ShortestP2P::FloydWarshall(int, int, int, const std::vector<std::vector<int> >&)':
/in/shortestP2P.hpp:199:41: error: unused parameter 'v' [-Werror=unused-parameter]
     int FloydWarshall(int S, int T, int v, const vector<vector<int>> &graph){
                                         ^
/in/shortestP2P.hpp:199:71: error: unused parameter 'graph' [-Werror=unused-parameter]
     int FloydWarshall(int S, int T, int v, const vector<vector<int>> &graph){
                                                                       ^~~~~
/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:29
Judged At
2024-08-10 00:07:29
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes