Compiler versions
| Language | Compile command | Version |
|---|---|---|
| C | gcc -fuse-ld=mold -std=gnu23 -O2 -lm -s -static -DKNOVA -DONLINE_JUDGE main.c -o /box/output | x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0 |
| C++11 | g++ -fuse-ld=mold -std=c++11 -O2 -s -static -DKNOVA -DONLINE_JUDGE main.cpp -o /box/output | x86_64-linux-gnu-g++-14 (Debian 14.2.0-19) 14.2.0 |
| C++14 | g++ -fuse-ld=mold -std=c++14 -O2 -s -static -DKNOVA -DONLINE_JUDGE main.cpp -o /box/output | x86_64-linux-gnu-g++-14 (Debian 14.2.0-19) 14.2.0 |
| C++17 | g++ -fuse-ld=mold -std=c++17 -O2 -s -static -DKNOVA -DONLINE_JUDGE main.cpp -o /box/output | x86_64-linux-gnu-g++-14 (Debian 14.2.0-19) 14.2.0 |
| C++20 | g++ -fuse-ld=mold -std=c++20 -O2 -s -static -DKNOVA -DONLINE_JUDGE main.cpp -o /box/output | x86_64-linux-gnu-g++-14 (Debian 14.2.0-19) 14.2.0 |
| C++23 | g++ -fuse-ld=mold -std=c++23 -O2 -s -static -DKNOVA -DONLINE_JUDGE main.cpp -o /box/output | x86_64-linux-gnu-g++-14 (Debian 14.2.0-19) 14.2.0 |
| Go | go build main.go | go version go1.24.4 linux/amd64 |
| Java | sh -c javac "$@" && jar cfe output.jar "$0" *.class Main Main.java | javac 21.0.13.1 |
| Julia | julia --startup-file=no --history-file=no --heap-size-hint=524288K main.jl | julia version 1.13.3 |
| Kotlin | kotlinc main.kt -include-runtime -d output.jar | kotlinc-jvm 2.4.20 (JRE 21.0.13.1+2-1-deb13u1-Debian) |
| Lean 4 | sh -c lean -c /box/main.c /box/main.lean && leanc -O3 -DNDEBUG -DKNOVA /box/main.c -o /box/output | Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) |
| Node.js | node -c index.js | v20.19.2 |
| Output Only | cat output_src | N/A |
| PHP | php -l index.php | PHP 8.4.28 (cli) (built: Nov 18 2026 10:55:31) (NTS) |
| Pascal | fpc -O2 -XSst -Mobjfpc -vw -dKNOVA -dONLINE_JUDGE main.pas -o/box/output | 3.2.2+dfsg-46 2025/02/08 linux x86_64 |
| Python 3 | python3 main.py | Python 3.13.5 |
| Rust | rustc --edition 2021 -O -C strip=symbols --cfg ONLINE_JUDGE --cfg KNOVA main.rs -o /box/output | rustc 1.85.1 (4eb161250 2025-03-15) (built from a source tarball) |
Note: Page still WIP