fish.cpp: In function 'long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
fish.cpp:26:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for (int j = 0; j < col[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~
fish.cpp:34:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | int now = col[i][j], above = (j < col[i].size() - 1 ? col[i][j + 1]: -1);
| ~~^~~~~~~~~~~~~~~~~~~
fish.cpp:41:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (int j = 0; j < col[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~
fish.cpp:43:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | while (p<col[i-1].size()-1 && y[col[i - 1][p + 1]] < y[now]) p++;
| ~^~~~~~~~~~~~~~~~~~
fish.cpp:50:61: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | int now = col[i][j], p = col[i - 1].size(), above = (j < col[i].size() - 1 ? col[i][j + 1] : -1);
| ~~^~~~~~~~~~~~~~~~~~~
fish.cpp:52:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | if (p == col[i].size()) continue;
| ~~^~~~~~~~~~~~~~~~