Ans showing is wrong

with the same code m getting ans yes with value 88

@priyacharaya10 share your code using cb ide so that i can check

magic_park.cpp
a link to my code: https://ide.codingblocks.com/s/328319
may be this can help
but m not sure
as i don’t know how to share my code using cb ide

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.