Incorrect Answer - first time submission

This is my first submission so I guess there’s a learning curve for submitting…

I’m not sure what the criteria are, but below was written “locally” and tested ok (python3).

CodeChef: Practical coding for everyone

When I submit it I get “Incorrect Answer” and when I try to run it here in the Code,Complile section it gives me an EOF error…

thanks for your help!

You should not output statements like “Enter the number of test cases”,etc. in your code since the judge treats it as an output and hence it gives a verdict of wrong answer.

So just take the inputs without such statements and output the answer.

aha, thanks for this insight. Submission successful now :slight_smile: