実行OS環境

Ubuntu

実行コマンド

言語 バージョン 言語ID コンパイルコマンド コンパイル内部コマンド 実行コマンド 実行内部コマンド
C++14 gcc 12.3.0 + boost 1.83.0 cpp14 g++-12 -I /boost_git/ -O2 -lm -std=c++14 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++17 gcc 12.3.0 + boost 1.83.0 cpp17 g++-12 -I /boost_git/ -O2 -lm -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++17(clang) 17.0.6 + boost 1.83.0 cpp-clang clang++ -I /boost_git/ -O2 -lm -std=c++1z -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++23 gcc 12.3.0 + boost 1.83.0 cpp23 g++-12 -I /boost_git/ -O2 -lm -std=c++23 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++23(gcc13) gcc 13.2.0 + boost 1.83.0 cpp23-gcc13 g++-13 -I /boost_git/ -O2 -lm -std=c++23 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C++11 gcc 11.4.0 cpp g++ -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ ./a.out
C gcc 12.3.0 c11 gcc-12 -O2 -std=c11 -DONLINE_JUDGE -o a.out _filename_ -lm ./a.out
C90 gcc 11.4.0 c gcc -O2 -DONLINE_JUDGE -o a.out _filename_ -lm ./a.out
Java21 openjdk 21 java8 javac -encoding UTF8 _filename_ java -ea -Xmx700m -Xss256M -DONLINE_JUDGE=true _class_
C# .NET 8.0.203 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.38.2 perl perl -cw _filename_ perl -X _filename_
Raku rakudo v2024.02 raku raku -c _filename_ raku _filename_
PHP 8.3.4 php php -l _filename_ php _filename_
Python3 3.12.2 + numpy 1.26.4 + scipy 1.12.0 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.3.0 ruby ruby -w -c _filename_ ruby _filename_
D dmd 2.106.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.22.1 go env GOCACHE=/tmp go build _filename_ ./Main
Haskell 9.8.2 haskell ghc -rtsopts -with-rtsopts=-K1G -o a.out -O2 _filename_ ./a.out
Scala(Beta) 3.4.0 scala scalac _filename_ scala _class_
Nim 2.0.2 nim nim --nimcache=~ --hints:off -o:a.out -d:release cpp _filename_ ./a.out
Rust 1.77.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 1.9.23 kotlin kotlinc _filename_ -include-runtime -d main.jar kotlin main.jar
Scheme Gauche-0.9.14 scheme true gosh _filename_
Crystal 1.11.2 crystal crystal build -Donline_judge -o a.out --release --no-debug _filename_ ./a.out
Swift 5.10.0 swift swiftc _filename_ -Ounchecked -o a.out ./a.out
OCaml 5.1.0 ocaml ocamlfind ocamlopt -linkpkg -package zarith,str _filename_ -o a.out ./a.out
Clojure(Beta) 1.11.2 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.16.2 elixir elixirc _filename_ elixir -e Main.main
Lua LuaJit 2.1.1696795921 lua luajit -b _filename_ a.out luajit _filename_
Julia 1.10.2 julia true julia _filename_
Fortran gFortran 13.2.0 fortran gfortran _filename_ -O2 -o ./a.out ./a.out
JavaScript node v21.7.1 node true node _filename_ ONLINE_JUDGE
TypeScript 5.4.3 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.3.8 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++-14 -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.1.16 sh true /usr/bin/bash _filename_
Assembler nasm 2.16.01 nasm nasmc Main nasm -f elf64 -Werror $1.asm && ld -s -o a.out $1.o
./a.out
cLay 20240714-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が使えます。(使用方法は上記のリンク先参照)

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	: 1
core id		: 0
cpu cores	: 1
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:

各コンパイラバージョン

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

+ g++ --version
+ gcc --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 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 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 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 (Homebrew GCC 13.2.0) 13.2.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 17.0.6
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/sbin
+ java -version
openjdk version "21.0.2" 2024-01-16
OpenJDK Runtime Environment Homebrew (build 21.0.2)
OpenJDK 64-Bit Server VM Homebrew (build 21.0.2, mixed mode, sharing)
+ dotnet --version
8.0.203
+ head -n2
+ csc -version
3.9.0-6.21124.20 (db94f4cc)
+ head -n2
+ mono --version
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
+ head -n2
+ mcs --version
Mono C# compiler version 6.12.0.200
+ head -n2
+ perl -version

This is perl 5, version 38, subversion 2 (v5.38.2) built for x86_64-linux-thread-multi
+ raku -version
Welcome to Rakudo™ v2024.02.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2024.02.
+ php --version
PHP 8.3.4 (cli) (built: Mar 12 2024 23:42:26) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.4, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.4, Copyright (c), by Zend Technologies
+ python2x --version
Python 2.7.18
+ python3 --version
Python 3.12.2
+ cat
+ python3 ver.py
numpy: 1.26.4
scipy: 1.12.0
+ pypy2 --version
Python 2.7.18 (321522dd371d, Jan 14 2024, 10:28:43)
[PyPy 7.3.15 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
+ pypy3 --version
Python 3.10.13 (fc59e61cfbff, Jan 15 2024, 14:27:31)
[PyPy 7.3.15 with GCC 11.4.0]
+ ruby --version
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
+ dmd --version
DMD64 D Compiler v2.106.1

Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved written by Walter Bright
+ go version
go version go1.22.1 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.8.2
+ scalac -version
Scala compiler version 3.4.0 -- Copyright 2002-2024, LAMP/EPFL
+ head -n2
+ nim --version
Nim Compiler Version 2.0.2 [Linux: amd64]
Compiled at 2023-12-15
+ rustc --version
rustc 1.77.0 (aedd173a2 2024-03-17) (Homebrew)
+ kotlinc -version
info: kotlinc-jvm 1.9.23 (JRE 21.0.2)
+ gosh -V
Gauche scheme shell, version 0.9.14 [utf-8,pthreads], x86_64-pc-linux-gnu
(version "0.9.14")
(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.14" "--libdir=/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.14/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.14/share/gauche-0.98/site/lib" "/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.14/share/gauche-0.98/0.9.14/lib")
(threads pthreads)
(gauche.net.tls mbedtls)
+ crystal -v
Crystal 1.11.2 (2024-01-18)

LLVM: 17.0.6
Default target: x86_64-unknown-linux-gnu
+ swiftc --version
Swift version 5.10 (swift-5.10-RELEASE)
Target: x86_64-unknown-linux-gnu
+ ocamlfind ocamlopt -version
5.1.0
+ clojure -e '(clojure-version)'
Downloading: org/clojure/clojure/1.11.2/clojure-1.11.2.pom from central
Downloading: org/clojure/spec.alpha/0.3.218/spec.alpha-0.3.218.pom from central
Downloading: org/clojure/pom.contrib/1.1.0/pom.contrib-1.1.0.pom from central
Downloading: org/clojure/core.specs.alpha/0.2.62/core.specs.alpha-0.2.62.pom from central
Downloading: org/clojure/clojure/1.11.2/clojure-1.11.2.jar from central
Downloading: org/clojure/spec.alpha/0.3.218/spec.alpha-0.3.218.jar from central
Downloading: org/clojure/core.specs.alpha/0.2.62/core.specs.alpha-0.2.62.jar from central
WARNING: Implicit use of clojure.main with options is deprecated, use -M
"1.11.2"
+ head -n2
+ fsharpc --help
F# Compiler for F# 4.0 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License
+ luajit -v
LuaJIT 2.1.1710088188 -- Copyright (C) 2005-2023 Mike Pall. https://luajit.org/
+ julia --version
julia version 1.10.2
+ head -n2
+ gfortran --version
GNU Fortran (Homebrew GCC 13.2.0) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
+ node --version
v21.7.1
+ tsc --version
Version 5.4.3
+ sbcl --version
SBCL 2.4.1
+ mlton_wrapper
MLton 20210117
+ head -n2
+ vim --version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Mar 24 2024 08:43:25)
適用済パッチ: 1-200
+ head -n2
+ bash --version
GNU bash, バージョン 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
+ head -n2
+ cat --version
cat (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
+ elixir -v
Erlang/OTP 26 [erts-14.2.2] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] [jit:ns]

Elixir 1.16.2 (compiled with Erlang/OTP 26)
+ /usr/bin/kuinc -v
Kuin Programming Language v.2021.8.17
(C)Kuina-chan
+ nasm -v
NASM version 2.16.01 compiled on Dec 22 2022
+ sed -n 9p
+ clay
+ echo ''
// cLay version 20240714-1
+ head -n2
+ wspace
wspace 0.4 (c) 2003 Edwin Brady
-------------------------------