boat.cpp:11:10: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
11 | auto add(auto& x, const auto& y) {
| ^~~~
boat.cpp:11:25: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
11 | auto add(auto& x, const auto& y) {
| ^~~~
boat.cpp: In function 'int32_t main()':
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] = 0;
| ~~^~~~~~~~~~~~~
boat.cpp:37:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int j = 0; j <= rrh.size(); ++j) f[id][j] = f[p][j];
| ~~^~~~~~~~~~~~~
boat.cpp:44:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for (int i = 1; i <= rrh.size(); ++i) add(answer, f[n & 1][i]);
| ~~^~~~~~~~~~~~~