https://www.codechef.com/LRNDSA02/submit/ZCO12001

https://www.codechef.com/LRNDSA02/submit/ZCO12001

I don’t know why I’m getting wrong answers and for what test cases.

where is your code?