Bug in CodeForces (and Scala?)

Правка en2, от wrick, 2016-02-20 22:49:37

I submitted 16248609 and it failed with a compilation error: Can't compile file: File should contain class/object named as the file.

I could not figure out what was wrong with my submission since it compiled fine locally; so I submitted it again and CodeForces complained that I am trying to submit the same file! So I removed an empty line and submitted it again and 16248804 got accepted!

629A - Дальние родственники и торт was a really unlucky problem for me as I also ran into a surprising Scala issue (besides the one I described above) which gave me a TLE:

  1. TLE: 16248545
  2. AC: 16248804

I am not sure why, so I asked on StackOverflow: http://stackoverflow.com/questions/35528057/scala-performance-difference-between-nested-for-loops

Теги scala, bug

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский wrick 2016-02-20 22:49:37 152
en1 Английский wrick 2016-02-20 22:47:13 668 Initial revision (published)