I am getting wrong answer for the problem but when i check it with my own compiler it gives the o/p properly. Can i get the private test case for the problem.
Codechef does not make test cases public. Instead you can post a link to your solution and the community try to help you in finding the error or test case in which your code fails
You will learn nothing if you rely on the private test cases. The problem is with your code itself and can be rectified either by discussing your code to the community or again attempt it yourself by re reading the question and check whether you found something new which you have previously missed or when once editorial are out you can understand the approach and attempt again. Good luck.
where can i give then link?