/in/foo.cc: In function 'int solve2(int)':
/in/foo.cc:50:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++)
~~^~~~~~~~~~
/in/foo.cc:73:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++)
~~^~~~~~~~~~
/in/foo.cc:77:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i + 1; j < v.size(); j++)
~~^~~~~~~~~~
/in/foo.cc:98:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++)
~~^~~~~~~~~~
/in/foo.cc:113:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size() / 2; i++)
~~^~~~~~~~~~~~~~
/in/foo.cc:118:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = v.size() - 1; j >= v.size() / 2; j--)
~~^~~~~~~~~~~~~~~