Getting Different answers for same code after submitting the code

Revision en1, by pks18, 2020-06-28 12:58:15

I was solving a question from testing round 14 called Problem 910A. my code is working perfectly when I run it in my PC. But when I submitted it, I received a WA. On checking the testcase, I found that the answer which I get when I run it manually on my PC or on Codeforces Custom Test IDE, I get the correct answer. I am attaching the my submissions, please help. I am totally confused why the same code is giving different outputs at different times. 85273487 85273212 85272698 Please help!

Tags #codeforces, #wronganswer, correct solution, c++ output


  Rev. Lang. By When Δ Comment
en1 English pks18 2020-06-28 12:58:15 787 Initial revision (published)