In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::readGraph()':
/in/shortestP2P.hpp:46:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int i = 0; i < vertice*vertice; ++i) {
~~^~~~~~~~~~~~~~~~~
/in/shortestP2P.hpp:49:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int i = 0; i < vertice; ++i) {
~~^~~~~~~~~
/in/shortestP2P.hpp:55:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int i = 0; i < edge; ++i) {
~~^~~~~~
/in/shortestP2P.hpp:64:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int i = 0; i < vertice; ++i) {
~~^~~~~~~~~
/in/shortestP2P.hpp:65:33: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int j = 0; j < vertice; ++j) {
~~^~~~~~~~~
/in/shortestP2P.hpp:66:37: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int k = 0; k < vertice; ++k) {
~~^~~~~~~~~
/in/shortestP2P.hpp:67:46: error: suggest parentheses around comparison in operand of '&' [-Werror=parentheses]
if (matrix[j*vertice+k]>matrix[j*vertice+i]+matrix[i*vertice+k]
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors