Bug in CodeForces in Intel Code Challenge Elimination Round

Правка en1, от wrick, 2016-10-01 19:07:31

I reported this bug earlier too: http://codeforces.me/blog/entry/21307

Basically Scala code is compiled against JDK8 but is run on JDK7. I was using TreeSet.getOrDefault() in 21087553 but I got this runtime error (did not get to see the error till contest was over):

java.lang.NoSuchMethodError: java.util.TreeSet.getOrDefault

I had no idea what was wrong with my submission so I submitted again essentially the same code but removed some debug statements in 21087993 and it again got runtime error again from the judge :(

But, then I saw it was failing on test 1 — which is impossible since I run that test myself before submitting!

But MikeMirzayanov had confirmed to me earlier that the bug was fixed:

So I submitted it again but replaced TreeSet.getOrDefault() with TreeSet.get() and it passed!! See: 21088330

Is it possible to recalculate my rating based on my first submission (21087553) of the problem which is indeed correct but was marked wrong because of a bug in CodeForces (which I was told was fixed a year ago)?

Теги scala, bug, java, jdk8

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский wrick 2016-10-01 19:07:31 1458 Initial revision (published)