https://www.codechef.com/submit/FCTRL2

https://www.codechef.com/submit/FCTRL2
what is wrong in it?