Maximum length bitonic


this is my code it is showing wrong answer

got it sorry ,i wasnt taking input

Hi can you just click your doubt resolved.