Runtimes


IDNameRuntime info
ADAAda—
AWKAWKawk 1.3.4
BashBash—
BFBrain****opt 21.1.8, llc 21.1.8, ld_x64 2.47

Classical brain**** with as many byte-sized cells as there are bytes in the memory limit.

CCgcc 16
C11C11gcc11 16
C23C23gcc23 16
CBLCOBOL—
ClangClangclang 21.1.8
Clang++Clang++—
CLang++17C++17 (Clang)clang++ 21.1.8
CLang++20C++20 (Clang)clang++ 21.1.8
CLang++23C++23 (Clang)clang++ 21.1.8
COFFEECoffeeScript—
C++03C++03g++ 16
C++11C++11g++11 16
C++14C++14g++14 16
C++17C++17g++17 16
C++20C++20g++20 16
C++23C++23g++23 16
DDdmd 2.113.0
DARTDart—
F95Fortran—
FORTHForth—

Gforth 0.7.2.

Submissions ran as gforth <source>.fs -e bye.

GAS32Assembly (x86)as_x86 2.47, ld_x86 2.47
GAS64Assembly (x64)as_x64 2.47, ld_x64 2.47
GASARMAssembly (ARM)—
GOGogo 1.27.1
GroovyGroovy—
HASKHaskellghc 9.10.3
ICKINTERCAL—
JAVAJavajavac 25.0.4.1
JAVA8Java 8javac 1.8.0
KOTLINKotlin—
LeanLean 4—
LUALua—
C#C#csc 6.12.0.200, mono 6.12.0.200
F#F#fsharpc 11.0.0.0, mono 6.12.0.200
VBVisual Basicvbnc 0.0.0.5943, mono 6.12.0.200
NASMNASMnasm 3.1, ld_x86 2.47
NASM64NASM64nasm 3.1, ld_x64 2.47
NodeNode.js—

Node.js, with the standard library and the usual process.stdin / console.log. Unlike the V8 runtime beside it, a solution written here runs the same way on your own machine.

OBJCObjective-C—

Objective-C with GNUstep Base 1.22.1 on GCC 4.7.2+.

OCAMLOCamlocaml 5.4.1
PASPascalfpc 3.2.2
PERLPerlperl 5.42.3
PHPPHP—
PIKEPike—
PROProlog—
PY2Python 2python 2.7.18
PY3Python 3python3 3.14.7
PYPY2PyPy 2pypy 7.3.23, implementing python 2.7.18
PYPY3PyPy 3pypy3 7.3.23, implementing python 3.11.15
RKTRacketracket 8.18
RUBYRubyruby 3.3.8
RUBY18Ruby 1.8—
RUSTRustrustc 1.98.1
LispLisp—
SCALAScalascalac 3.9.0, java 25.0.4.1
SCMSchemecsc 5.3.0
SEDSedsed 4.9
SWIFTSwift—
TCLTCL—
TEXTTextcat 9.10
TURTuring—
V8JSV8 JavaScriptv8dmoj 9.3.345.19

This is a custom version of V8 that adds six functions in order to perform I/O and aid in online judging.

  • print(...): similar to Python's print, prints all argument separated by space followed by new line.
  • flush(): flushes stdout, ensuring everything output by print() immediately shows up.
  • gets(): similar to the Ruby equivalent, returns one line of input from stdin.
  • read(bytes): read bytes bytes from stdin as an ArrayBuffer.
  • write(buffer): write a typed array, ArrayBuffer, or a view of ArrayBuffer to stdout.
  • quit(code): exits the program with code.
  • You can also assign to the global variable autoflush to control whether print() flushes.
ZIGZig—