Comments

D2 TLE on testcase 27 :sob:

oh :sob. thank you

Why did the online judge's output for the sample test case for problem C differ from my output when running locally? https://mirror.codeforces.com/contest/2120/submission/325455524

It seems that my code is outputting this when I submitted during the contest.

-1
3
3 4
4 2
2 1

But when I ran it locally on my machine, it outputs this:

-1
3
3 1
1 4
4 2