2580:24:37
-45 days 3:34:23
Assignment is over

KTH MF2095 - Programming Task 1 - Based on Exercises 11-14


Time elapsed

1083:34:23

Time Remaining

2580:24:37

Starts in

-45 days 3:34:23

Ends in

107 days 12:24:37

Start

2025-08-01 10:00 CEST

End

2026-01-01 00:59 CET

Visit Results
Log in
 

KTH MF2095 - Programming Task 1 - Based on Exercises 11-14

Java with Algs4

Compiler settings

We use javac 21.0.7 to compile your program with the following command:

$ javac -encoding UTF-8 -sourcepath {path} -cp {path}/*:/opt/algs4/algs4.jar -d {path} {files}

  • {files} is a space-separated list of all files.

Runtime settings

We use java 21.0.7 to run your program with the following command:

$ java -Dfile.encoding=UTF-8 -XX:+UseSerialGC -Xss64m -Xms{memlim}m -Xmx{memlim}m -cp {path}:{path}/*:/opt/algs4/algs4.jar {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: .java

Additional information

Additional language-specific advice and information for many languages is available in the knowledge base