Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link ×

Output from codeforces judge coming different from terminal (same code)

Revision en3, by Himitsu, 2018-10-22 00:27:22


I am solving this question and it is failing in test case-3.

The test case is as follows:

8 2

Link to submission:

Output on my terminal(on running the same code) is coming as the correct answer but judge is showing some other output.

I have no idea why this is happening. Can someone help? Thank You


  Rev. Lang. By When Δ Comment
en3 English Himitsu 2018-10-22 00:27:22 3 Tiny change: 'submission.[http://co' -> 'submission: [http://co'
en2 English Himitsu 2018-10-22 00:26:18 6
en1 English Himitsu 2018-10-22 00:25:43 552 Initial revision (published)