This is just impossible and gradually i’m getting irritated like hell. my solution is
CodeChef: Practical coding for everyone. I’m passing every possible testcase…
I’m trying not to lose hope but it’s been a real test of character and i’m failing this!