ID Tên Thông tin thời gian chạy
C C gcc 14.2.0
C11 C11 gcc11 14.2.0
Clang Clang clang 19.1.6
Clang++ Clang++ clang++ 19.1.6
C++03 C++03 g++ 14.2.0
C++11 C++11 g++11 14.2.0
C++14 C++14 g++14 14.2.0
C++17 C++17 g++17 14.2.0
C++20 C++20 g++20 14.2.0
JAVA8 Java 8 javac 1.8.0
C# C# csc 6.12.0.200, mono 6.12.0.200
PAS Pascal fpc 3.2.2
PY2 Python 2 python 2.7.18
PY3 Python 3 python3 3.12.8
Scratch Scratch scratch-run 0.1.5
TEXT Text cat 9.5
V8JS V8 JavaScript v8dmoj 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.