dango3.cpp: In function 'void Solve(int, int)':
dango3.cpp:11:58: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
11 | if ((r.empty() || !r.back().empty()) && r.size() < M) r.push_back(nv);
| ~~~~~~~~~^~~
dango3.cpp:12:33: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
12 | for (l = 0; r[l].size() >= N; ++l);
| ~~~~~~~~~~~~^~~~
dango3.cpp:17:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (j = c + 1; j < r.size(); ++j) for (k = 0; k < r[j].size(); ++k) f.push_back(r[j][k]);
| ~~^~~~~~~~~~
dango3.cpp:17:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (j = c + 1; j < r.size(); ++j) for (k = 0; k < r[j].size(); ++k) f.push_back(r[j][k]);
| ~~^~~~~~~~~~~~~
dango3.cpp:18:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (j = 0; j < f.size(); ++j) ++f[j];
| ~~^~~~~~~~~~
dango3.cpp:25:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for (i = 0; i < r.size(); ++i) for (j = 0; j < r[i].size(); ++j) ++r[i][j];
| ~~^~~~~~~~~~
dango3.cpp:25:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for (i = 0; i < r.size(); ++i) for (j = 0; j < r[i].size(); ++j) ++r[i][j];
| ~~^~~~~~~~~~~~~