Link-https://www.codechef.com/viewsolution/32388964 why this is wrong?? which test case i am failing?