I am getting correct results for my code in my compiler for number of sample inputs.But i am getting wrong answer after submitting.I think their might be a presentation error.Please help…/
There will be no presentation error if you follow the I/O format given. You must be missing some corner case. Try generating test cases manually and put in more effort, You will get there. I am closing this now as we cannot discuss this further as it is a live contest. Best of Luck.