0:00:00
-1153 days 6:46:44
Contest is over

GCC Fall 2021 Practice


Time elapsed

2:30:00

Time Remaining

0:00:00

Starts in

-1153 days 6:46:44

Ends in

-1153 days 4:16:44

Start

2021-10-30 20:00 CEST

End

2021-10-30 22:30 CEST

Visit Scoreboard
Log in

GCC Fall 2021 Practice

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