Closed xuanswe closed 1 year ago
Oh, if I add import java.util.*
, it's success.
But the error message is misleading.
From the same code, that uses readLine()
to read input.
Now, I want to use bufferedReader
, I get Compilation Error again. See code here
Not sure if that's a bug of kotlin compiler or the configuration of LightOJ.
Well, now try the accepted code again, it fails. So, basically, unpredictable when the code is accepted or fails with Compilation Error.
Thanks for reporting the issue. It was actually a combination of both. Kotlin requires a lot of memory to compile and also the old kotlin was not happy with the java version. We fixed this and rejudged all the submissions.
Keeping the ticket open, please close this if it solved the issue. Thanks.
Thanks for reporting the issue. It was actually a combination of both. Kotlin requires a lot of memory to compile and also the old kotlin was not happy with the java version. We fixed this and rejudged all the submissions.
Keeping the ticket open, please close this if it solved the issue. Thanks.
Wow! Thanks! it works now. Not tested with other problems, but at least, my code passed the mentioned problem immediately on the first try.
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior The code should always be compiled successfully.
Screenshots
Browser information (please complete the following information):