Why am I getting wrong answer

//CODE DELETED

I’ve tried to submit it a hell lot of times, but the message displayed is “Wrong Answer”.I can’t understand the reason as I’ve checked my solution for most of the possible cases on my PC.

Please if anybody can resolve my problem

You are not supposed to ask a question about the ongoing challenge. That too regarding the solution.

Hey vischugh, Kindly avoid asking questions related to ongoing contest. It is against our Code Of Conduct. To know why you are getting wrong answer you can look at our FAQ here: http://discuss.codechef.com/questions/39396/why-i-am-getting-wrong-answer

Sorry for that but can you just provide me with a test case for which my program isn’t working correctly as I’ve tried all possible test cases which have come to my mind.

Thanks in advance.