fish.cpp: In function 'long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
fish.cpp:40:20: 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 = 0; i < X.size(); i++)
| ~~^~~~~~~~~~
fish.cpp:64:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for (int j = 0; j < vp[i].size(); j++)
| ~~^~~~~~~~~~~~~~
fish.cpp:82:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | while ((ind < vp[i - 1].size()) and (vp[i - 1][ind].first < vp[i][j].first))
| ~~~~^~~~~~~~~~~~~~~~~~
fish.cpp:128:18: warning: division by zero [-Wdiv-by-zero]
128 | cout << 1 / 0;
| ~~^~~
fish.cpp:144:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
144 | for (int j = 0; j < vp[i].size(); j++)
| ~~^~~~~~~~~~~~~~
fish.cpp:159:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
159 | for (int j = 0; j < vp[i].size(); j++)
| ~~^~~~~~~~~~~~~~
fish.cpp:169:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
169 | for (int j = 0; j < vp[i].size(); j++)
| ~~^~~~~~~~~~~~~~
fish.cpp:177:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
177 | for (int j = 0; j < vp[i - 1].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~