wrick's blog

By wrick, history, 8 years ago, In English

I suffered from a bug in the setup for Scala in the last round. Although Scala code is compiled against JDK8, it is run using JDK7. I got this as a runtime error (**NOT** compile error) during the contest which puzzled me (ofcourse I did not see the error till after the contest):

java.lang.NoSuchMethodError: java.io.LineNumberReader.lines()Ljava/util/stream/Stream;
	at Scanner.<init>(_591B.scala:73)
	at Scanner.<init>(_591B.scala:66)
	at Scanner.<init>(_591B.scala:67)
	at Scanner.<init>(_591B.scala:68)
	at CodeForcesApp.main(_591B.scala:36)
	at _591B.main(_591B.scala)

Submissions: 13843944 13843313

I was able to eventually figure it out by doing a practice problem and seeing the error and resubmit and get those 2 problems correct but I lost about 45 minutes. What is the best way to report such bugs to Codeforces? Maybe we should document here (http://codeforces.com/blog/entry/79) more clearly what is done for Scala...

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

| Write comment?
8 years ago, # |
  Vote: I like it -12 Vote: I do not like it

Видиш значок β возле логотипа?? Кажется это значит что баги не исправляют. По крайней мере те баги которые я нашел: раз, два, никто так и не потрудился исправить... Зато минусов мне почемуто очень много понаставили(((((

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

I think that creating a post and asking MikeMirzayanov to take a look is the best you can do.