Please Check The Code Soution is Not Getting Accepted

Please Check The GIven Link below solution It is not getting accepted:

@vikram.keswani108 this part of your code is wrong
long long int opt=max(max(tourist(v,i-1,j,k-1,i+j-k),tourist(v,i-1,j,k,i+j-k)),max(tourist(v,i,j-1,k-1,i+j-k),tourist(v,i,j-1,k,i+j-k)));

I have carefully drawn the equation with all four condition and with the help of manhanttan distance calculate the 4th variable which is same equation for all. please tell me what is wrong in this equation.

@vikram.keswani108 long long int opt=max(max(tourist(v,i-1,j,k-1,l),tourist(v,i-1,j,k,l-1)),max(tourist(v,i,j-1,k-1,l),tourist(v,i,j-1,k,l-1)));
i have used this equation in your code and it got accepted

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.