lightoj-dev / bugs-and-features

This repository is only for tracking bugs and feature requests on LightOJ
14 stars 1 forks source link

Kotlin: Compilation Failed due to taking longer than expected #189

Closed xuanswe closed 1 year ago

xuanswe commented 1 year ago

Describe the bug Cannot compile hello world Kotlin code.

To Reproduce Steps to reproduce the behavior:

  1. Go to any problem, such as https://lightoj.com/problem/dna-prefix
  2. Select "Kotlin"
  3. Run the code fun main() { println("Hi") }

Expected behavior Should compile and successfully print the output and report success or fail.

Screenshots image

Browser information (please complete the following information):

xuanswe commented 1 year ago

Now it can compile Kotlin again, but not enough memory with a simple Trie solution. I need to modify from using HashMap to Array in order to pass some problems using Trie. I think the Kotlin environment is quite unstable, and the memory assigned is usually too strict?

jan876 commented 1 year ago

Increased memory for kotlin and rejudged all the submissions, thanks for reporting.