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-15 (Ubuntu 15.2.0-16ubuntu1) 15.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++-15 (Ubuntu 15.2.0-16ubuntu1) 15.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++-15 (Ubuntu 15.2.0-16ubuntu1) 15.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++-15 (Ubuntu 15.2.0-16ubuntu1) 15.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++-15 (Ubuntu 15.2.0-16ubuntu1) 15.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++-15 (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Go go build main.go go version go1.26.0 linux/amd64
Java sh -c javac Main.java && jar cfe output.jar Main *.class javac 21.0.11
Kotlin kotlinc main.kt -include-runtime -d output.jar kotlinc-jvm 1.9.24 (JRE 21.0.11+10-1-26.04.2-Ubuntu)
Node.js node -c index.js v22.23.1
Output Only cat output_src N/A
PHP php -l index.php PHP 8.5.4 (cli) (built: Jul 16 2026 18:56:38) (NTS)
Pascal fpc -O2 -XSst -Mobjfpc -vw -dKNOVA -dONLINE_JUDGE main.pas -o/box/output 3.2.2+dfsg-49 2026/02/27 linux x86_64
Python 3 python3 main.py Python 3.14.4
Rust rustc --edition 2021 -O -C strip=symbols --cfg ONLINE_JUDGE --cfg KNOVA main.rs -o /box/output rustc 1.93.1 (01f6ddf75 2026-02-11) (built from a source tarball)
Note: Page still WIP