I used [submission:https://codeforces.net/contest/2036/submission/290139246] for question 2036E, but it seems that there are some bugs in it that I can't see. I very accidentally saw that people used the same method to solve the question and did not give any wrong answer! Can anyone help me with this problem?
- I'm sorry if I didn't write very well It seems that I am not well versed in blog tools
Auto comment: topic has been updated by Maria386 (previous revision, new revision, compare).
Auto comment: topic has been updated by Maria386 (previous revision, new revision, compare).
You have to use $$$\geq$$$ instead of $$$\gt$$$ while printing $$$-1$$$ on line $$$39$$$.
Corrected code 290142295
Yes, that's right.
I saw this right when I posted =)
Anyway, thank you very much.