0:00:00
-968 days 0:23:59
Contest is over

NB High School Programming Competition - 2022


Time elapsed

3:30:00

Time Remaining

0:00:00

Starts in

-968 days 0:23:59

Ends in

-967 days 20:53:59

Start

2022-04-28 09:00 ADT

End

2022-04-28 12:30 ADT

Visit Scoreboard
Log in

NB High School Programming Competition - 2022

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