Problem fish
User justin271828
Submission Time 2026-11-12 17:43:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fish.cpp: In function ‘long long int max_weights(int32_t, int32_t, std::vector<int>, std::vector<int>, std::vector<int>)’:
fish.cpp:14:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
14 | ans = counter;
| ^~~
| abs