Getting wrong answer on CodeChef?

I am new to codechef.I’m competing in August challenge.All the questions run successfully in my pc and gives the answer according to the question but whenever I submt them codechef says wrong answer.Am I missing out on something? Where am I getting wrong? Please suggest

1 Like

Hi Ashwin, you kindly check here:

same here man, i tried using several test inputs of my own and always got right output but when uploaded on codechef wrong answer

pay attention to the date when this question was asked…