K.Outis's blog

By K.Outis, 7 weeks ago, In English

I used [submission:https://mirror.codeforces.com/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
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Maria386 (previous revision, new revision, compare).

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Maria386 (previous revision, new revision, compare).

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

You have to use $$$\geq$$$ instead of $$$\gt$$$ while printing $$$-1$$$ on line $$$39$$$.
Corrected code 290142295

  • »
    »
    7 weeks ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Yes, that's right.

    I saw this right when I posted =)

    Anyway, thank you very much.