IDNameRuntime Info
BFBrain****bf 1.33.7
CCgcc 8
CPP11C++11g++11 8
CPP14C++14g++14 8
CPP17C++17g++17 8
DARTDartdart 2.10.5
F95Fortrangfortran 8
GOGogo 1.15.8
HASKHaskellghc 8.10.2
JAVA11Java 11javac 11.0.10
JAVA15JAVA15javac 15.0.2
JAVA8Java 8javac 1.8.0
KOTLINKOTLIN
NASM64NASM64nasm 2.14, ld_x64 2.31.1
PERLPERLperl 5.28.1
PHPPHP 7php 7.3.27
PROPrologswipl 8.0.2
PY2Python 2python 2.7.16
PY3Python 3python3 3.7.3
PYPYPyPy 2pypy 7.2.0, implementing python 2.7.13
PYPY3PyPy 3pypy3 7.2.0, implementing python 3.6.9
RKTRacketracket 7.2
RUBY2Ruby 2ruby 2.5.5
RUSTRustrustc 1.47.0
SBCLLispsbcl 1.4.16
V8JSJavaScriptv8dmoj 8.1.307.31

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.