fish.cpp: In function 'long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
fish.cpp:7:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | for(i=0;i<W.size();i++){
| ~^~~~~~~~~
fish.cpp:15:12: error: 'max' was not declared in this scope; did you mean 'std::max'?
15 | return max(ans1,ans2);
| ^~~
| std::max
In file included from /usr/include/c++/10/vector:60,
from fish.h:1,
from fish.cpp:1:
/usr/include/c++/10/bits/stl_algobase.h:300:5: note: 'std::max' declared here
300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~