foo.cc: In function 'void Output(std::vector<std::vector<int> >&)':
foo.cc:19:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i=0; i<M.size(); i++)
| ~^~~~~~~~~
foo.cc:21:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int j=0; j<M[i].size(); j++){
| ~^~~~~~~~~~~~
foo.cc:24:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if(i<M.size()-1)
| ~^~~~~~~~~~~
foo.cc: In function 'void SortRow(std::vector<std::vector<int> >&)':
foo.cc:31:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int k=0; k<M.size(); k++)
| ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务