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 Main.java && jar cfe output.jar Main *.class
|
javac 21.0.12.1
|
| Kotlin |
kotlinc main.kt -include-runtime -d output.jar
|
kotlinc-jvm 2.4.20 (JRE 21.0.12.1+1-1-deb13u1-Debian)
|
| Node.js |
node -c index.js
|
v20.19.2
|
| Output Only |
cat output_src
|
N/A
|
| PHP |
php -l index.php
|
PHP 8.4.26 (cli) (built: Sep 24 2026 17:16:18) (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