My program in Codechef shows Wrong Answer but ideone.com shows exactly the same output as mentioned in the problem.

Sir, I compiled my program in ideone.com and and the output matches exactly as you have shown in the “Chef and Operation” problem of Snackdown. But the compiler of Codechef shows this as “Wrong Answer”.What should I do now?
I also want to ask you whether it is required to give input exactly as that mention by you in the problem.

//