why wrong ans ...i tried all possible test case i can think

my solution is
CodeChef: Practical coding for everyone plz help me…