In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::readGraph()':
/in/shortestP2P.hpp:32:16: error: conflicting declaration 'size_t V'
size_t V = static_cast<size_t>(V)
^
/in/shortestP2P.hpp:30:13: note: previous declaration as 'int V'
int V, E;
^
/in/shortestP2P.hpp:36:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (size_t i = 0; i < E; i++) {
~~^~~
/in/shortestP2P.hpp: In member function 'bool ShortestP2P::detectNegativeCycle(int)':
/in/shortestP2P.hpp:98:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (size_t i = 0; i < V - 1; ++i) {
~~^~~~~~~
/in/shortestP2P.hpp:100:34: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (size_t u = 0; u < V; ++u) {
~~^~~
/in/shortestP2P.hpp:117:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (size_t u = 0; u < V; ++u) {
~~^~~
cc1plus: all warnings being treated as errors