fish.cpp: In function 'long long int rec(int, bool, int)':
fish.cpp:8:29: error: too few arguments to function 'long long int rec(int, bool, int)'
8 | return dp[i]=max(rec(i+1,m)+ar[i+1],rec(i+1,m)+ar[i]);
| ^
fish.cpp:5:11: note: declared here
5 | long long rec(int i,bool f,int m){
| ^~~
fish.cpp:8:48: error: too few arguments to function 'long long int rec(int, bool, int)'
8 | return dp[i]=max(rec(i+1,m)+ar[i+1],rec(i+1,m)+ar[i]);
| ^
fish.cpp:5:11: note: declared here
5 | long long rec(int i,bool f,int m){
| ^~~