9/25 Coding Session
Kotlin
Compiler settings
We use kotlinc 1.8.10
to compile your program with the following command:
$ kotlinc -d {path} -Djava.io.tmpdir={path} {files}
{files}
is a space-separated list of all files.
Runtime settings
We use kotlin
to run your program with the following command:
$ kotlin -J-XX:+UseSerialGC -J-Xss64m -J-Xms{memlim}m -J-Xmx{memlim}m -cp {path} '{mainclass}'
{mainclass}
is the class containing your main function.{memlim}
is the actual memory limit for the problem you are submitting to.
File Extensions
Files with any of the following file extensions will be used: .kt
Additional information
Additional language-specific advice and information for many languages is available in the knowledge base