foo.cc: In function 'void SortRow(std::vector<std::vector<int> >&)':
foo.cc:7:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | for(int i=0;i<M.size();i++)
| ~^~~~~~~~~
foo.cc:9:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for(int j=0;j<M[0].size();j++)
| ~^~~~~~~~~~~~
foo.cc:12:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int k=j+1;k<M[0].size();k++)
| ~^~~~~~~~~~~~
foo.cc: In function 'void Output(std::vector<std::vector<int> >&)':
foo.cc:28:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(int i=0;i<M.size();i++)
| ~^~~~~~~~~
foo.cc:30:16: 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<M[0].size();j++)
| ~^~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务