In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::readGraph()':
/in/shortestP2P.hpp:79:23: error: statement is a reference, not call, to function 'exit' [-Werror=address]
exit;
^
/in/shortestP2P.hpp:79:23: error: statement has no effect [-Werror=unused-value]
/in/shortestP2P.hpp: In member function 'void ShortestP2P::printf()':
/in/shortestP2P.hpp:106:34: error: conversion to 'int' from 'std::vector<std::vector<int> >::size_type {aka long unsigned int}' may alter its value [-Werror=conversion]
int row = this->Flod.size();
~~~~~~~~~~~~~~~^~
/in/shortestP2P.hpp:107:37: error: conversion to 'int' from 'std::vector<int>::size_type {aka long unsigned int}' may alter its value [-Werror=conversion]
int col = this->Flod[0].size();
~~~~~~~~~~~~~~~~~~^~
/in/shortestP2P.hpp:108:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned i = 0; i < row; i++){
~~^~~~~
/in/shortestP2P.hpp:109:33: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned j =0; j < col; j++){
~~^~~~~
cc1plus: all warnings being treated as errors