Can someone pls tell for which test case my code is failing

https://www.codechef.com/viewsolution/23731554