fish.cpp: In function 'long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
fish.cpp:37:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   37 |   for(int j = 0;j < g[i - 1].size();j++) {
      |                 ~~^~~~~~~~~~~~~~~~~
fish.cpp:40:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   40 |    while(R < g[i].size() && to.f >= g[i][R].f) {
      |          ~~^~~~~~~~~~~~~
fish.cpp:50:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   50 |   for(int j = 0;j < g[i].size();j++) {
      |                 ~~^~~~~~~~~~~~~
fish.cpp:52:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   52 |    while(R < g[i - 1].size() && to.f >= g[i - 1][R].f) {
      |          ~~^~~~~~~~~~~~~~~~~
fish.cpp:67:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   67 |    while(R < g[i - 1].size() && (to.f != n ? g[i][j + 1].f : n + 1) > g[i - 1][R].f) {
      |          ~~^~~~~~~~~~~~~~~~~
fish.cpp:75:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   75 |   for(int j = 0;j < g[i].size();j++) {
      |                 ~~^~~~~~~~~~~~~