/in/foo.cc: In member function 'void PolyLinkNode::Add(PolyLinkNode)':
/in/foo.cc:40:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < v.size(); j++)
~~^~~~~~~~~~
/in/foo.cc:48:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j >= v.size())
~~^~~~~~~~~~~
/in/foo.cc:51:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size() - 1; i++)
~~^~~~~~~~~~~~~~
/in/foo.cc:53:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < v.size() - 1 - i; j++)
~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:59:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++)
~~^~~~~~~~~~
/in/foo.cc: In member function 'void PolyLinkNode::Mul(PolyLinkNode)':
/in/foo.cc:70:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++)
~~^~~~~~~~~~
/in/foo.cc:72:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < P.v.size(); j++)
~~^~~~~~~~~~~~
/in/foo.cc:76:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (k = 0; k < tmp.size(); k++)
~~^~~~~~~~~~~~
/in/foo.cc:84:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k >= tmp.size())
~~^~~~~~~~~~~~~
/in/foo.cc:88:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < tmp.size() - 1; i++)
~~^~~~~~~~~~~~~~~~
/in/foo.cc:90:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < tmp.size() - 1 - i; j++)
~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:96:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < tmp.size(); i++)
~~^~~~~~~~~~~~