boat.cpp: In function 'int32_t main()':
boat.cpp:29:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int j = 0; j <= rrh.size(); ++j) f[id][j] = 0;
| ~~^~~~~~~~~~~~~
boat.cpp:33:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for (int j = 0; j <= rrh.size(); ++j) f[id][j] = f[p][j];
| ~~^~~~~~~~~~~~~
boat.cpp:40:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int i = 1; i <= rrh.size(); ++i) answer += f[n & 1][i];
| ~~^~~~~~~~~~~~~