Ahmed_Solyman's blog

By Ahmed_Solyman, history, 3 years ago, In English

Try to submit this accepted code

the accepted submission: Accepted

the wrong once: Wrong on test 16

  • Vote: I like it
  • +1
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
Rev. 2   Vote: I like it +2 Vote: I do not like it

The only logical explanation is that you are using 2 different C++ versions, honestly, I don't know much about the differences so I can't tell what is the problem exactly

»
3 years ago, # |
  Vote: I like it +3 Vote: I do not like it

it's because an extra test was added after the contest ended you can see the accepted submission runs on 15 test cases and the wrong one gets wrong on 16.