ID Name Runtime Info
BF Brain****
C C
CPP11 C++11
CPP14 C++14
CPP17 C++17
DART Dart
F95 Fortran
GO Go
HASK Haskell
JAVA11 Java 11
JAVA15 Java 15
JAVA8 Java 8
KOTLIN KOTLIN
MONOCS C# (MONOCS)
NASM64 NASM64
PERL PERL
PHP PHP 7
PRO Prolog
PY2 Python 2
PY3 Python 3
PYPY PyPy 2
PYPY3 PyPy 3
RKT Racket
RUBY2 Ruby 2
RUST Rust
SBCL Lisp
V8JS JavaScript

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.