Maximum length bitonic

My code is running fine on my compiler but it’s giving error while submitting it on coding blocks.

link-

@nikitaguptanikki2
hello nikita,
ur code looks correct, what error u are getting

My 4 out of 5 test cases have passed but one of them failed.
Here’s the code-https://ide.codingblocks.com/s/190203

@nikitaguptanikki2
is it showing time limit for that 1 case?

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.