fish.cpp: In function 'bool is_even(std::vector<int>)':
fish.cpp:6:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | for (int i = 0; i < X.size(); i++) {
| ~~^~~~~~~~~~
fish.cpp: In function 'bool is_only_start(std::vector<int>)':
fish.cpp:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for (int i = 0; i < X.size(); i++) {
| ~~^~~~~~~~~~
fish.cpp: In function 'long long int solve_only_start(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
fish.cpp:41:5: error: 'll' was not declared in this scope
41 | ll cur_res = 0;
| ^~
fish.cpp:44:13: error: 'cur_res' was not declared in this scope
44 | cur_res += W[i];
| ^~~~~~~
fish.cpp:59:26: error: 'cur_res' was not declared in this scope
59 | long long best_res = cur_res;
| ^~~~~~~
fish.cpp: In function 'long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
fish.cpp:72:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for (int i = 0; i < W.size(); i++) {
| ~~^~~~~~~~~~