/in/foo.cc: In function 'bool check(long long int, std::vector<Army>, int)':
/in/foo.cc:146:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remain.size() > map.NodeTable[1].army) //如果在根节点的军队树小于没有封锁的子树数,那么失败
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:151:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0, j = 0, remainsize = remain.size(); i < root.size(); i++)
~~^~~~~~~~~~~~~
/in/foo.cc:154:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = j; k < remain.size(); k++)
~~^~~~~~~~~~~~~~~
/in/foo.cc:177:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (root.size() - i - 1 < remainsize)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~