Bitonic subarray code

why is my code not getting submitted?https://ide.codingblocks.com/s/195062

@aditi2512201012019
hello aditi,
pls submit this code -> https://ide.codingblocks.com/s/195075
and tell me what verdict u r getting

i am only getting 1 test case passed with your code. Also i am unable to get your changes with the code like ions:base…

@aditi2512201012019
a) add greater than equal to i.e >= when u are computing inc and dec array.
b) those two line just increase u input output speed. if u dont want to use them in ur code then use printf and scanf.

i got the correct ans,but whats the use of line 19 and 20.

for that check this article->

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.