Môi trường thực thi

Các ngôn ngữ và phiên bản trình biên dịch/thông dịch đã cài trên máy chấm đang hoạt động.

64 ngôn ngữ · chỉ online judge
ADA
Ada
gnatmake 12.2.0

Compile options: gnatmake -Wall -O2 -march=native -fmax-errors=5

ALGL68
Algol 68
a68g 3.1.2

Algol 68 Genie. The compile step only checks the syntax (a68g --norun --noportcheck --nopragmats); the program is then interpreted with a68g --nowarnings --noportcheck --nopragmats.

AWK
AWK
awk 1.3.4

Run options: awk -f <source>.

BUN
Typescript (Bun)
bun 1.4.4

Run options: bun <source>. TypeScript is executed directly, there is no separate compile step.

C
C
gcc 16.2.0

Compile options: gcc -std=c99 -Wall -DONLINE_JUDGE -O2 -lm -fmax-errors=5 -march=native -s

C11
C11
gcc11 16.2.0

Compile options: gcc -std=c11 -Wall -DONLINE_JUDGE -O2 -lm -fmax-errors=5 -march=native -s

C-ICPC
C (ICPC)
gcc 16.2.0

ICPC-style C. Compile options: gcc -x c -g -O2 -std=gnu11 -static -lm. Unlike the regular C runtimes, ONLINE_JUDGE is not defined and -march=native is not used.

Clang
Clang
clang 22.1.8

Compile options: clang -std=c11 -Wall -DONLINE_JUDGE -O2 -lm -ferror-limit=5 -march=native -s

Clang++
Clang++
clang++ 22.1.8

Compile options: clang++ -std=c++17 -Wall -DONLINE_JUDGE -O2 -lm -ferror-limit=5 -march=native -s

Clang++20
Clang++20
clang++ 22.1.8

Compile options: clang++ -std=c++20 -Wall -DONLINE_JUDGE -O2 -lm -ferror-limit=5 -march=native -s

Clang++23
Clang++23
clang++ 22.1.8

Compile options: clang++ -std=c++23 -Wall -DONLINE_JUDGE -O2 -lm -ferror-limit=5 -march=native -s

C++03
C++03
g++ 16.2.0

Compile options: g++ -std=c++03 -Wall -DONLINE_JUDGE -O2 -lm -fmax-errors=5 -march=native -s

C++11
C++11
g++11 16.2.0

Compile options: g++ -std=c++11 -Wall -DONLINE_JUDGE -O2 -lm -fmax-errors=5 -march=native -s

C++14
C++14
g++14 16.2.0

Compile options: g++ -std=c++14 -Wall -DONLINE_JUDGE -O2 -lm -fmax-errors=5 -march=native -s

C++17
C++17
g++17 16.2.0

Compile options: g++ -std=c++17 -Wall -DONLINE_JUDGE -O2 -lm -fmax-errors=5 -march=native -s

C++20
C++20
g++20 16.2.0

Compile options: g++ -std=c++20 -Wall -DONLINE_JUDGE -O2 -lm -fmax-errors=5 -march=native -s

C++23
C++23
g++23 16.2.0

Compile options: g++ -std=c++23 -Wall -DONLINE_JUDGE -O2 -lm -fmax-errors=5 -march=native -s

C++-ICPC
C++ (ICPC)
g++ 16.2.0

ICPC-style C++. Compile options: g++ -x c++ -g -O2 -std=gnu++20 -static. Unlike the regular C++ runtimes, ONLINE_JUDGE is not defined and -march=native is not used.

CPPTHEMIS
C++ (Themis)
g++-themis 16.2.0

Themis-compatible C++. Compile options: g++ -x c++ -std=c++14 -DTHEMIS -pipe -O2 -s -static -lm -Wl,-z,stack-size=66060288. THEMIS is defined instead of ONLINE_JUDGE, the stack is raised to 63 MB, and -march=native is not used.

C#
C# .NET
dotnet 10.0.402

C# on .NET. Compile options: csc /nologo /optimize+; the resulting assembly is run with dotnet.

D
D
dmd 2.113.0

Compile options: dmd -O -release -w. The source file is always named main.d.

DART
Dart
dart 3.13.6

Compiled to a snapshot with dart --snapshot=<snapshot>, then run with dart <snapshot>.

DENO
Typescript (Deno)
deno 2.9.8

Run options: deno run --allow-all --v8-flags=--max-old-space-size=<memory limit + 100 MB>. V8 reserves several GB of address space, so the memory limit is enforced by that flag alone: exceeding it is reported as a runtime error rather than MLE.

F95
Fortran
gfortran 15.3.0

Compile options: gfortran -Wall -O2 -march=native -std=f95 -fmax-errors=5

FORTH
Forth
gforth 0.7.3

Run options: gforth <source> -e bye.

F#
F# .NET
dotnet 10.0.402

F# on .NET. Compile options: fsc --nologo --optimize+ --targetprofile:netcore --simpleresolution --noframework; the resulting assembly is run with dotnet.

GAS64
Assembly
as_x64 2.47, ld_x64 2.47

GNU assembler, x86-64. Assembled with as --64 and linked with ld -s -m elf_x86_64. Add a # features: libc comment to link against the C library.

GO
Go
go 1.27.3

Compile options: go build, with CGO_ENABLED=0. Your code must be in package main.

GROOVY
Groovy
groovyc 5.1.3, java 26.0.2.1

Compile options: groovyc <source>; the program then runs on the JVM with -Xss128m and -XX:+UseSerialGC.

JAVA
Java 25
javac 26.0.2.1

Compile options: javac -encoding UTF-8

JULIA
Julia
julia 1.13.2

Run options: julia --startup-file=no, with JULIA_NUM_THREADS=1.

KOTLIN
Kotlin
kotlinc 2.4.21, java 26.0.2.1

Compile options: kotlinc -include-runtime -d <jar>; the jar is run with java -jar (-Xss128m, -XX:+UseSerialGC).

LEAN4
Lean
lean 4.35.0

Compiled in two steps: lean -c <generated>.c <source>, then leanc -o <binary> <generated>.c -O3 -DNDEBUG.

LUA
Lua
lua 5.5.1

Run options: lua <source>.

C#
C# Mono
csc 6.12.0.200, mono 6.12.0.200

C# on Mono. Compile options: mono-csc -r:System.Numerics.dll; the assembly is run with mono.

NASM64
Assembly
nasm 2.16.1, ld_x64 2.47

NASM, x86-64. Assembled with nasm -f elf64 and linked with ld -s -m elf_x86_64. Start the file with ; libc to link against the C library.

NIM
Nim
nim 2.2.12

Compile options: nim c --hints:off.

NODEJS
Javascript (NodeJS)
node 26.12.1

Run options: node --max-old-space-size=<memory limit + 100 MB>. V8 reserves several GB of address space, so the memory limit is enforced by that flag alone: exceeding it is reported as a runtime error rather than MLE.

OBJC
Objective-C
gcc 16.2.0

Objective-C with GNUstep Base 1.28 on GCC 16.

OUTPUT
Output Only
cat 9.1

Output-only problems: you upload the answers instead of a program, so nothing is compiled or executed.

PAS
Pascal
fpc 3.2.2

Compile options: fpc -Fe/dev/stderr -O2

PASTHEMIS
Pascal (Themis)
fpc-themis 3.2.2

Themis-compatible Pascal. Compile options: fpc -Fe/dev/stderr -dTHEMIS -O2 -XS -Sg -Cs66060288: a static binary with stack checking and a 63 MB stack. THEMIS is defined instead of ONLINE_JUDGE.

PERL
Perl
perl 5.42.3

Run options: perl -Mre=eval <source>.

PHP
PHP
php 8.5.12

Run options: php <source>.

PIKE
Pike
pike 8.0

Run options: pike <source>.

PRO
Prolog
swipl 9.0.4

SWI-Prolog. Run options: swipl --goal=main -c <source>, so your program has to define main.

PY2
Python 2
python 2.7.18

Compile options: python -m compileall -q

PY3
Python 3
python3 3.15.1

Compile options: python3 -m compileall -q

PYPY2
PyPy 2
pypy 7.3.23, implementing python 2.7.18

Compile options: pypy -m compileall -q

PYPY3
PyPy 3
pypy3 7.3.23, implementing python 3.11.15

Compile options: pypy3 -m compileall -q

RKT
Racket
racket 8.7

Compiled with raco make, then run with racket <source>. The file has to start with a #lang line.

RUBY
Ruby
ruby 4.0.8

Run options: ruby --disable-gems <source>.

RUST
Rust
rustc 1.99.1

Built as a Cargo project: cargo build --release --offline, edition 2021, symbols stripped. The crates dmoj 0.1, libc 0.2, rand 0.8 and rand_xoshiro 0.6 are vendored and may be used.

Lisp
Lisp
sbcl 2.2.9

Compiled with compile-file, then run with sbcl --dynamic-space-size <memory limit> --no-sysinit --no-userinit.

SCALA
Scala
scalac 3.10.0, java 26.0.2.1

Scala 3. Compile options: scalac <source>; the program runs on the JVM (-Xss128m, -XX:+UseSerialGC).

SCM
Scheme
csc 5.3.0

CHICKEN Scheme. Compile options: chicken-csc <source>.

SCRATCH
Scratch
ctoj-scratch 0.0.1

Scratch 3 projects (.sb3) are submitted as a file and executed by the ctoj Scratch runtime instead of a compiler.

SED
Sed
sed 4.9

Run options: sed -f <source>.

SWIFT
Swift
swiftc 6.4.1

Compile options: swiftc <source>. No optimization flag is passed, so the binary is an unoptimized debug build.

TCL
TCL
tclsh 8.6

Run options: tclsh <source>.

TEXT
TEXT
cat 9.1

The submitted text is handed to the checker byte for byte; nothing is compiled or executed. Carriage returns are stripped.

V
V
v 0.5.2

Compile options: v -cc /usr/bin/gcc. The source file is always named submission.v.

VB
VB .NET
dotnet 10.0.402

Visual Basic on .NET. Compile options: vbc /nologo /optimize+ /nostdlib /define:_MYTYPE="Empty"; the resulting assembly is run with dotnet.

ZIG
Zig
zig 0.17.0

Compile options: zig build-exe -O ReleaseSafe. Carriage returns are stripped from the source before compiling.

gnatmake 12.2.0 a68g 3.1.2 nasm 2.16.1 as_x64 2.47 awk 1.3.4 gcc 16.2.0 dotnet 10.0.402 g++ 16.2.0 g++-themis 16.2.0 g++17 16.2.0 g++20 16.2.0 g++23 16.2.0 clang++ 22.1.8 dmd 2.113.0 dart 3.13.6 gforth 0.7.3 gfortran 15.3.0 go 1.27.3 groovyc 5.1.3 javac 26.0.2.1 node 26.12.1 julia 1.13.2 kotlinc 2.4.21 lean 4.35.0 sbcl 2.2.9 lua 5.5.1 nim 2.2.12 fpc 3.2.2 fpc-themis 3.2.2 perl 5.42.3 php 8.5.12 pike 8.0 swipl 9.0.4 pypy3 7.3.23 python3 3.15.1 racket 8.7 ruby 4.0.8 rustc 1.99.1 csc 5.3.0 ctoj-scratch 0.0.1 sed 4.9 swiftc 6.4.1 tclsh 8.6 bun 1.4.4 deno 2.9.8 v 0.5.2 zig 0.17.0