Compiler versions
Language | Compile command | Version |
---|---|---|
C |
gcc -fuse-ld=mold -std=c11 -O2 -lm -s -static -DKNOVA -DONLINE_JUDGE main.c -o output
|
x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
|
C++11 |
g++ -fuse-ld=mold -std=c++11 -O2 -s -static -DKNOVA -DONLINE_JUDGE main.cpp -o output
|
x86_64-linux-gnu-g++-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
|
C++14 |
g++ -fuse-ld=mold -std=c++14 -O2 -s -static -DKNOVA -DONLINE_JUDGE main.cpp -o output
|
x86_64-linux-gnu-g++-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
|
C++17 |
g++ -fuse-ld=mold -std=c++17 -O2 -s -static -DKNOVA -DONLINE_JUDGE main.cpp -o output
|
x86_64-linux-gnu-g++-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
|
C++20 |
g++ -fuse-ld=mold -std=c++20 -O2 -s -static -DKNOVA -DONLINE_JUDGE main.cpp -o output
|
x86_64-linux-gnu-g++-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
|
Go |
go build main.go
|
go version go1.21.1 linux/amd64
|
Kotlin |
kotlinc main.kt -include-runtime -d output.jar
|
kotlinc-jvm 1.9.24 (JRE 19.0.2+7-Ubuntu-0ubuntu322.04)
|
Node.js |
node -c index.js
|
v22.12.0
|
Output Only |
cat output
|
N/A
|
PHP |
php -l index.php
|
PHP 8.1.2-1ubuntu2.20 (cli) (built: Dec 3 2024 20:14:35) (NTS)
|
Pascal |
fpc -O2 -XSst -Mobjfpc -vw -dKNOVA -dONLINE_JUDGE main.pas -o/box/output
|
3.2.2+dfsg-9ubuntu1 2022/04/11 linux x86_64
|
Python 3 |
python3 main.py
|
Python 3.10.12
|
Rust |
rustc --edition 2021 -O -C strip=symbols --cfg ONLINE_JUDGE --cfg KNOVA main.rs -o output
|
rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball)
|
Note: Page still WIP