foo.cc: In function 'int FindMinIndex(std::vector<int>&, std::vector<bool>&)':
foo.cc:10:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for (int i = minIndex + 1; i < v.size(); i++)
| ~~^~~~~~~~~~
foo.cc: In function 'void solve(std::vector<std::vector<int> >&, std::vector<int>&, int)':
foo.cc:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for (int i = 1; i < paths.size(); i++)
| ~~^~~~~~~~~~~~~~
foo.cc:30:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for (int j = 0; j < length.size(); j++)
| ~~^~~~~~~~~~~~~~~
foo.cc: In function 'void Output(std::vector<std::vector<int> >&)':
foo.cc:41:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (int i = 0; i < v.size(); i++)
| ~~^~~~~~~~~~
foo.cc:43:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for (int j = 0; j < v[0].size(); j++)
| ~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务