fish.cpp: In function 'long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
fish.cpp:25:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for (int j = 0; j < col[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~
fish.cpp:33:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | int now = col[i][j], above = (j < col[i].size() - 1 ? col[i][j + 1]: -1);
| ~~^~~~~~~~~~~~~~~~~~~
fish.cpp:34:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | if (j == col[i].size() - 1) down[now] = mx + w[now];
| ~~^~~~~~~~~~~~~~~~~~~~
fish.cpp:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int j = 0; j < col[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~
fish.cpp:48:56: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | int now = col[i][j], p = col[i].size(), below = (j < col[i].size() ? col[i][j+1] : -1);
| ~~^~~~~~~~~~~~~~~
fish.cpp:50:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | if (p == col[i].size()) continue;
| ~~^~~~~~~~~~~~~~~~
fish.cpp:55:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for (int j = 0; j < col[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~