実行OS環境

Ubuntu

実行コマンド

言語 バージョン 言語ID コンパイルコマンド コンパイル内部コマンド 実行コマンド 実行内部コマンド
C++14 gcc 13.3.0 + boost 1.87.0 cpp14 g++ -I /boost_git/ -O2 -lm -std=c++14 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++17 gcc 13.3.0 + boost 1.87.0 cpp17 g++ -I /boost_git/ -O2 -lm -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++17(gcc12) gcc 12.3.0 + boost 1.87.0 cpp17_gcc12 g++-12 -I /boost_git/ -O2 -lm -std=c++23 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++17(clang) 17.0.6 + boost 1.87.0 cpp-clang clang++ -I /boost_git/ -O2 -lm -std=c++1z -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++23 gcc 13.3.0 + boost 1.87.0 cpp23 g++ -I /boost_git/ -O2 -lm -std=c++23 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++11 gcc 13.3.0 cpp g++ -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C gcc 13.3.0 c11 gcc -O2 -DONLINE_JUDGE -o a.out _filename_ -lm ./a.out
C90 gcc 12.3.0 c gcc-12 -O2 -std=c90 -DONLINE_JUDGE -o a.out _filename_ -lm ./a.out
Java openjdk 23 java8 javac -encoding UTF8 _filename_ java -ea -Xmx700m -Xss256M -DONLINE_JUDGE=true _class_
C# .NET 8.0.404 csharp_dotnet dotnet_c export DOTNET_EnableWriteXorExecute=0
echo '<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><ImplicitUsings>enable</ImplicitUsings><OutputType>Exe</OutputType><TargetFramework>net7.0</TargetFramework><AllowUnsafeBlocks>true</AllowUnsafeBlocks></PropertyGroup></Project>' > main.csproj;
dotnet restore -s /home/judge/.nuget/

dotnet publish --no-restore -c Release
/usr/bin/dotnet_wrap #!/bin/bash
export DOTNET_EnableWriteXorExecute=0
./bin/Release/net7.0/main
C#(csc) csc 3.9.0 csharp csc -langversion:latest -unsafe -warn:0 -o+ /r:System.Numerics.dll _filename_ -out:a.exe /usr/bin/mono a.exe
Perl 5.40.0 perl perl -cw _filename_ perl -X _filename_
Raku rakudo v2024.12 raku raku -c _filename_ raku _filename_
PHP 843.2 php php -l _filename_ php _filename_
Python3 3.13.1 + numpy 2.2.1 + scipy 1.14.1 python3 python3 -mpy_compile _filename_ python3 _filename_
PyPy3 7.3.15 pypy3 pypy3 -mpy_compile _filename_ pypy3 _filename_
PyPy2 7.3.15 pypy2 pypy2 -m py_compile _filename_ /usr/bin/pypy2 Main.pyc
Ruby 3.4.1 ruby ruby -w -c _filename_ ruby _filename_
D dmd 2.109.1 d dmd -fPIE -m64 -w -wi -O -release -inline -I/opt/dmd/src/druntime/import/ -I/opt/dmd/src/phobos -L-L/opt/dmd/linux/lib64/ -fPIC _filename_ ./Main
Go 1.23.4 go env GOCACHE=/tmp go build _filename_ ./Main
Haskell 9.10.1 haskell ghc -rtsopts -with-rtsopts=-K1G -o a.out -O2 _filename_ ./a.out
Scala(Beta) 3.6.2 scala scalac _filename_ scala run -cp . --main-class _class_
Nim 2.2.0 nim nim --nimcache=~ --hints:off -o:a.out -d:release cpp _filename_ ./a.out
Rust 1.83.0 + proconio rust /usr/bin/rustc_custom cp /rust/Cargo.toml ./ && mkdir src && mv main.rs src/ && cargo build --release --quiet --offline
./target/release/main
Kotlin 2.1.0 kotlin kotlinc _filename_ -include-runtime -d main.jar kotlin main.jar
Scheme Gauche-0.9.15 scheme true gosh _filename_
Crystal 1.14.0 crystal crystal build -Donline_judge -o a.out --release --no-debug _filename_ ./a.out
Swift 6.0.3 swift swiftc _filename_ -Ounchecked -o a.out ./a.out
OCaml 5.2.1 ocaml ocamlfind ocamlopt -linkpkg -package zarith,str _filename_ -o a.out ./a.out
Clojure(Beta) 1.12.0 clojure true clojure -M _filename_
F# F# 4.0 fsharp fsharp_c _filename_ #!/bin/bash
export DOTNET_EnableWriteXorExecute=0
cat <<EOP > main.fsproj
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<Compile Include="Main.fs" />
</ItemGroup>

</Project>
EOP
dotnet restore -s /home/judge/.nuget/
dotnet publish --no-restore -c Release
/usr/bin/dotnet_wrap #!/bin/bash
export DOTNET_EnableWriteXorExecute=0
./bin/Release/net7.0/main
Elixir 1.18.1 elixir elixirc _filename_ elixir -e Main.main
Lua LuaJit 2.1.1734355927 lua luajit -b _filename_ a.out luajit _filename_
Julia 2.11.2 julia true julia _filename_
Fortran gFortran 14.2.0 fortran gfortran _filename_ -O2 -o ./a.out ./a.out
JavaScript node v23.5.0 node true node _filename_ ONLINE_JUDGE
TypeScript 5.7.2 typescript tsc.sh -p tsconfig.json mkdir -p node_modules
cat <<EOP > tsconfig.json
{
"compilerOptions": {
"target": "ESNext",
"module": "commonjs"
},
"files": ["main.ts"]
}
EOP

tsc $@
node main.js ONLINE_JUDGE
Common Lisp sbcl 2.5.0 lisp sbclc _filename_ sbcl --script Main.fasl
Standard ML MLton 20210117 sml mlton_wrapper _filename_ ./main
Kuin KuinC++ v.2021.9.17 kuin KuinInKuin -i _filename_ -o out.cpp -s /kuin/sys/ -e cpp -r -q /usr/bin/kuinc \$@ && clang++ -std=c++17 -O2 out.cpp
./a.out
Vim script v9.1 vim true vim -u NONE -i NONE -X -N -n -e -s -S _filename_ /dev/stdin -c qa!
Bash Bash 5.2.21 sh true /usr/bin/bash _filename_
Assembler nasm 2.16.03 nasm nasmc Main nasm -f elf64 -Werror $1.asm && ld -s -o a.out $1.o
./a.out
cLay 20241019-1 clay clayc _filename_ cat \$1 | clay > main.cpp && g++ -std=c++1y -O2 -lm -o a.out main.cpp
./a.out
Brainfuck BFI 1.1 bf true /usr/bin/bf _filename_
Whitespace 0.4 Whitespace true /usr/bin/wspace _filename_
Text cat 8.3 text true /usr/bin/cat _filename_
ただし、* マークがついているのは現在リアクティブジャッジでは使用できません。

/usr/include/https://github.com/atcoder/ac-library.gitを入れています。
つまり、ACLが使えます。(使用方法は上記のリンク先参照)

whitespaceは https://github.com/CensoredUsername/whitespace-rsの処理系を使用。

brainfuckは http://esoteric.sange.fi/brainfuck/impl/interp/BFI.cの処理系を使用。

cLayについてはこちら
yukicoderではgcc 12.3.0(C++14)でビルド、実行しています



入れて欲しいコンパイラがありましたら、ご連絡ください。(CentOS 7で動作するもの)

もしくはDockerfileを頂ければスムーズかもしれません。

/proc/cpuinfo

(今後、予告なく変更する可能性があります、あくまでも2023年04月01日現在のものです。)

コアが複数あっても、ジャッジのコアは1つに制限しています。

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 63
model name	: Intel(R) Xeon(R) CPU @ 2.30GHz
stepping	: 0
microcode	: 0xffffffff
cpu MHz		: 2299.998
cache size	: 46080 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat md_clear arch_capabilities
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs mmio_stale_data bhi
bogomips	: 4599.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 63
model name	: Intel(R) Xeon(R) CPU @ 2.30GHz
stepping	: 0
microcode	: 0xffffffff
cpu MHz		: 2299.998
cache size	: 46080 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat md_clear arch_capabilities
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs mmio_stale_data bhi
bogomips	: 4599.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 63
model name	: Intel(R) Xeon(R) CPU @ 2.30GHz
stepping	: 0
microcode	: 0xffffffff
cpu MHz		: 2299.998
cache size	: 46080 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat md_clear arch_capabilities
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs mmio_stale_data bhi
bogomips	: 4599.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 63
model name	: Intel(R) Xeon(R) CPU @ 2.30GHz
stepping	: 0
microcode	: 0xffffffff
cpu MHz		: 2299.998
cache size	: 46080 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat md_clear arch_capabilities
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs mmio_stale_data bhi
bogomips	: 4599.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

各コンパイラバージョン

万が一、上の記述と異なるものがある場合は下のコマンドが最新です。

+ g++ --version
g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ gcc --version
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ g++-13 --version
g++-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ clang++ --version
Homebrew clang version 19.1.6
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/linuxbrew/.linuxbrew/Cellar/llvm/19.1.6/bin
+ java -version
openjdk version "23.0.1" 2024-10-15
OpenJDK Runtime Environment Homebrew (build 23.0.1)
OpenJDK 64-Bit Server VM Homebrew (build 23.0.1, mixed mode, sharing)
+ dotnet --version
8.0.404
+ csc -version
+ head -n2
3.9.0-6.21124.20 (db94f4cc)
+ mono --version
+ head -n2
Mono JIT compiler version 6.12.0.200 (tarball Tue Jul 11 21:37:50 UTC 2023)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
+ mcs --version
+ head -n2
Mono C# compiler version 6.12.0.200
+ perl -version
+ head -n2

This is perl 5, version 40, subversion 0 (v5.40.0) built for x86_64-linux-thread-multi
+ raku -version
Welcome to Rakudo™ v2024.12.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2024.12.
+ php --version
PHP 8.4.2 (cli) (built: Dec 17 2024 15:31:31) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.2, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.2, Copyright (c), by Zend Technologies
+ python2x --version
Python 2.7.18
+ python3 --version
Python 3.13.1
+ cat
+ python3 ver.py
numpy: 2.2.1
scipy: 1.14.1
+ pypy2 --version
Python 2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:10:41)
[PyPy 7.3.17 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
+ pypy3 --version
Python 3.10.14 (39dc8d3c85a7, Nov 09 2024, 23:59:51)
[PyPy 7.3.17 with GCC 11.4.0]
+ ruby --version
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x86_64-linux]
+ dmd --version
DMD64 D Compiler v2.109.1

Copyright (C) 1999-2024 by The D Language Foundation, All Rights Reserved written by Walter Bright
+ go version
go version go1.23.4 linux/amd64
+ env GOROOT=/usr/local/go1.4 go1.4 version
go version go1.4.2 linux/amd64
+ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.10.1
+ scalac -version
Scala compiler version 3.6.2 -- Copyright 2002-2024, LAMP/EPFL
+ nim --version
+ head -n2
Nim Compiler Version 2.2.0 [Linux: amd64]
Compiled at 2024-10-02
+ rustc --version
rustc 1.83.0 (90b35a623 2024-11-26) (Homebrew)
+ kotlinc -version
info: kotlinc-jvm 2.1.0 (JRE 23.0.1)
+ gosh -V
Gauche scheme shell, version 0.9.15 [utf-8,pthreads], x86_64-pc-linux-gnu
(version "0.9.15")
(command "gosh")
(scheme.id gauche)
(languages scheme r5rs r7rs)
(encodings utf-8)
(website "https://practical-scheme.net/gauche")
(build.platform "x86_64-pc-linux-gnu")
(build.configure "--disable-debug" "--disable-dependency-tracking" "--prefix=/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.15" "--libdir=/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.15/lib" "--enable-multibyte=utf-8" "--with-ca-bundle=/home/linuxbrew/.linuxbrew/share/ca-certificates/cacert.pem" "CC=gcc-11")
(scheme.path "/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.15/share/gauche-0.98/site/lib" "/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.15/share/gauche-0.98/0.9.15/lib")
(threads pthreads)
(gauche.net.tls mbedtls)
+ crystal -v
Crystal 1.14.0 (2024-10-09)

LLVM: 19.1.1
Default target: x86_64-unknown-linux-gnu
+ swiftc --version
Swift version 6.0.3 (swift-6.0.3-RELEASE)
Target: x86_64-unknown-linux-gnu
+ ocamlfind ocamlopt -version
5.2.1
+ clojure -e '(clojure-version)'
Downloading: org/clojure/clojure/1.12.0/clojure-1.12.0.pom from central
Downloading: org/clojure/spec.alpha/0.5.238/spec.alpha-0.5.238.pom from central
Downloading: org/clojure/core.specs.alpha/0.4.74/core.specs.alpha-0.4.74.pom from central
Downloading: org/clojure/pom.contrib/1.2.0/pom.contrib-1.2.0.pom from central
Downloading: org/clojure/spec.alpha/0.5.238/spec.alpha-0.5.238.jar from central
Downloading: org/clojure/core.specs.alpha/0.4.74/core.specs.alpha-0.4.74.jar from central
Downloading: org/clojure/clojure/1.12.0/clojure-1.12.0.jar from central
WARNING: Implicit use of clojure.main with options is deprecated, use -M
"1.12.0"
+ fsharpc --help
+ head -n2
F# Compiler for F# 4.0 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License
+ luajit -v
LuaJIT 2.1.1734355927 -- Copyright (C) 2005-2023 Mike Pall. https://luajit.org/
+ julia --version
julia version 1.11.2
+ gfortran --version
+ head -n2
GNU Fortran (Homebrew GCC 14.2.0_1) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
+ node --version
v23.5.0
+ tsc --version
Version 5.7.2
+ sbcl --version
SBCL 2.5.0
+ mlton_wrapper
MLton 20210117
+ vim --version
+ head -n2
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Dec 20 2024 18:45:06)
Included patches: 1-950
+ bash --version
+ head -n2
GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
+ cat --version
+ head -n2
cat (GNU coreutils) 9.4
Copyright (C) 2023 Free Software Foundation, Inc.
+ elixir -v
warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell) or set the ELIXIR_ERL_OPTIONS="+fnu" environment variable
Erlang/OTP 27 [erts-15.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]

Elixir 1.18.1 (compiled with Erlang/OTP 27)
+ /usr/bin/kuinc -v
Kuin Programming Language v.2021.8.17
(C)Kuina-chan
+ nasm -v
NASM version 2.16.03 compiled on Apr 17 2024
+ echo ''
+ sed -n 9p
+ clay
// cLay version 20241019-1
+ wspace
+ head -n2
Error: Missing required positional argument 'PROGRAM'