boat.cpp: In function 'int32_t main()':
boat.cpp:26:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for (int j = 1; j <= rrh.size(); ++j) f[0][j] = 1;
| ~~^~~~~~~~~~~~~
boat.cpp:30:23: 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 = 1; j <= rrh.size(); ++j) f[id][j] = 0;
| ~~^~~~~~~~~~~~~
boat.cpp:34:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for (int j = 1; j <= rrh.size(); ++j) f[id][j] = (f[id][j] + f[id][j - 1]) % M;
| ~~^~~~~~~~~~~~~