fish.cpp: In function 'int64_t max_weights(int32_t, int32_t, std::vector<int>, std::vector<int>, std::vector<int>)':
fish.cpp:33:20: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for (int i = 0; i <= f[0].size(); i++)
| ~~^~~~~~~~~~~~~~
fish.cpp:44:21: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for (int j = 0; j < f[i].size(); j++) // Current level
| ~~^~~~~~~~~~~~~
fish.cpp:48:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | while (k < f[i-1].size() && f[i][j][0] > f[i-1][k][0])
| ~~^~~~~~~~~~~~~~~
fish.cpp:60:10: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | if (j < f[i].size())
| ~~^~~~~~~~~~~~~
fish.cpp:62:24: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | while (k >= 0 && (k == f[i-1].size() || (j != f[i].size() && f[i-1][k][0] > f[i][j][0])))
| ~~^~~~~~~~~~~~~~~~
fish.cpp:62:47: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | while (k >= 0 && (k == f[i-1].size() || (j != f[i].size() && f[i-1][k][0] > f[i][j][0])))
| ~~^~~~~~~~~~~~~~
fish.cpp:67:10: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | if (j < f[i].size())
| ~~^~~~~~~~~~~~~
fish.cpp:75:21: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for (int j = 0; j <= f[i].size(); j++)
| ~~^~~~~~~~~~~~~~
fish.cpp:77:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | while (k < f[i-1].size() && (j == f[i].size() || f[i-1][k][0] < f[i][j][0]))
| ~~^~~~~~~~~~~~~~~
fish.cpp:77:35: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | while (k < f[i-1].size() && (j == f[i].size() || f[i-1][k][0] < f[i][j][0]))
| ~~^~~~~~~~~~~~~~
fish.cpp:88:21: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | for (int j = 0; j < f[i-1].size(); j++)
| ~~^~~~~~~~~~~~~~~
fish.cpp:92:10: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | if (j < f[i].size())
| ~~^~~~~~~~~~~~~
fish.cpp:94:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | while (k > 0 && (k == f[i-1].size() || f[i-1][k][0] > f[i-1][j][0]))
| ~~^~~~~~~~~~~~~~~~
fish.cpp:105:21: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
105 | for (int j = 0; j <= f[i].size(); j++)
| ~~^~~~~~~~~~~~~~
fish.cpp:108:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
108 | while (k < f[i-1].size() && (j == f[i].size() || f[i-1][k][0] < f[i][j][0]))
| ~~^~~~~~~~~~~~~~~
fish.cpp:108:35: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
108 | while (k < f[i-1].size() && (j == f[i].size() || f[i-1][k][0] < f[i][j][0]))
| ~~^~~~~~~~~~~~~~
fish.cpp:118:20: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<std::array<long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
118 | for (int i = 0; i < f[n-1].size(); i++)
| ~~^~~~~~~~~~~~~~~