XenoAmess's blog

By XenoAmess, history, 6 years ago, In English

http://codeforces.com/contest/940/submission/36654025

http://codeforces.com/contest/940/submission/36654074

IS THERE DIFFERENCE??????

PS.nothing offensive,but if you know why it happened,please telll me.I 've been in codeforces in years,and never seen thing like this.

If you are as.confused as me,then just go.

By the way,I noticed that this question gets some negatives,but with no comment.If you have some idea,just comment it.If not then you are not who I ask help to.Thanks.

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

»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

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

(Disclaimer: I'm in no way a Java master, nor a JavaScript master for that matter.)

This looks like a non-deterministic behavior (bug) on the language side (Java & Nashorn). Perhaps the first submission will also get OK if rejudged.

You can also try adapting the I/O to JavaScript V8 and submit the solution in that language directly.

  • »
    »
    6 years ago, # ^ |
      Vote: I like it +5 Vote: I do not like it

    Well I used to think that there shall be no more bugs in java8 since it has been published for so long time. Maybe I am naive