fish.cpp: In function 'long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
fish.cpp:7:7: error: expected primary-expression before 'int'
7 | ifor(int i=0;i<x.size();i++){
| ^~~
fish.cpp:7:15: error: 'i' was not declared in this scope
7 | ifor(int i=0;i<x.size();i++){
| ^
fish.cpp:12:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i=0;i<w.size();i++) rez+=w[i];
| ~^~~~~~~~~
fish.cpp:16:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for(int i=0;i<w.size();i++){
| ~^~~~~~~~~