実行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) 14.0.0 + 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(draft) 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++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 -lm -std=c11 -DONLINE_JUDGE -o a.out _filename_ ./a.out
C90 gcc 11.4.0 c gcc -O2 -lm -DONLINE_JUDGE -o a.out _filename_ ./a.out
Java19 openjdk 21 java8 javac -encoding UTF8 _filename_ java -ea -Xmx700m -Xss256M -DONLINE_JUDGE=true _class_
C# .NET 7.0.402 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.0 perl perl -cw _filename_ perl -X _filename_
Raku rakudo v2023.09 raku raku -c _filename_ raku _filename_
PHP 8.2.11 php php -l _filename_ php _filename_
Python3 3.11.6 + numpy 1.26.0 + scipy 1.11.3 python3 python3 -mpy_compile _filename_ python3 _filename_
PyPy3 7.3.13 pypy3 pypy3 -mpy_compile _filename_ pypy3 _filename_
PyPy2 7.3.13 pypy2 pypy2 -m py_compile _filename_ /usr/bin/pypy2 Main.pyc
Ruby 3.2.2 ruby ruby -w -c _filename_ ruby _filename_
D dmd 2.105.2 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.21.3 go env GOCACHE=/tmp go build _filename_ ./Main
Haskell 9.6.2 haskell ghc -rtsopts -with-rtsopts=-K1G -o a.out -O2 _filename_ ./a.out
Scala(Beta) 3.3.1 scala scalac _filename_ scala _class_
Nim 2.0.0 nim nim --nimcache=~ --hints:off -o:a.out -d:release cpp _filename_ ./a.out
Rust 1.72.1 rust rustc --edition 2021 -C opt-level=3 Main.rs -o Main ./Main
Kotlin 1.9.10 kotlin kotlinc _filename_ -include-runtime -d main.jar kotlin main.jar
Scheme Gauche-0.9.13 scheme true gosh _filename_
Crystal 1.10.0 crystal crystal build -Donline_judge -o a.out --release --no-debug _filename_ ./a.out
Swift 5.8.1 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.1 clojure true clojure -M _filename_
F# .NET 7 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.15.6 elixir elixirc _filename_ elixir -e Main.main
Lua LuaJit 2.1.1696795921 lua luajit -b _filename_ a.out luajit _filename_
Julia 1.9.3 julia true julia _filename_
Fortran gFortran 13.2.0 fortran gfortran _filename_ -O2 -o ./a.out ./a.out
JavaScript node v20.8.0 node true node _filename_ ONLINE_JUDGE
TypeScript 5.2.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.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.0 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 20231016-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 invpcid_single 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
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++-12 --version
g++-12 (Homebrew GCC 12.3.0) 12.3.0
Copyright (C) 2022 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
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
+ java -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment Homebrew (build 21)
OpenJDK 64-Bit Server VM Homebrew (build 21, mixed mode, sharing)
+ dotnet --version
7.0.402
+ 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 0 (v5.38.0) built for x86_64-linux-thread-multi
+ raku -version
Welcome to Rakudo™ v2023.09.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2023.09.
+ php --version
PHP 8.2.11 (cli) (built: Sep 26 2023 11:11:58) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.11, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.11, Copyright (c), by Zend Technologies
+ python2x --version
Python 2.7.18
+ python3 --version
Python 3.11.6
+ cat
+ python3 ver.py
numpy: 1.26.0
scipy: 1.11.3
+ pypy2 --version
Python 2.7.18 (8d509266596ab6a70defcf87c8b29f57b8e32426, Jun 15 2023, 10:18:34)
[PyPy 7.3.12 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
+ pypy3 --version
Python 3.10.13 (f1607341da97ff5a1e93430b6e8c4af0ad1aa019, Oct 09 2023, 18:46:46)
[PyPy 7.3.13 with GCC 11.4.0]
+ ruby --version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
+ dmd --version
DMD64 D Compiler v2.105.2

Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved written by Walter Bright
+ go version
go version go1.21.3 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.6.2
+ scalac -version
Scala compiler version 3.3.1 -- Copyright 2002-2023, LAMP/EPFL
+ head -n2
+ nim --version
Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-08-01
+ rustc --version
rustc 1.72.1 (d5c2e9c34 2023-09-13) (Homebrew)
+ kotlinc -version
info: kotlinc-jvm 1.9.10 (JRE 21)
+ gosh -V
Gauche scheme shell, version 0.9.13 [utf-8,pthreads], x86_64-pc-linux-gnu
(version "0.9.13")
(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.13" "--libdir=/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.13/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.13/share/gauche-0.98/site/lib" "/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.13/share/gauche-0.98/0.9.13/lib")
(threads pthreads)
(gauche.net.tls mbedtls)
+ crystal -v
Crystal 1.10.0 (2023-10-09)

LLVM: 15.0.7
Default target: x86_64-unknown-linux-gnu
+ swiftc --version
Swift version 5.8.1 (swift-5.8.1-RELEASE)
Target: x86_64-unknown-linux-gnu
+ ocamlfind ocamlopt -version
5.1.0
+ clojure -e '(clojure-version)'
Downloading: org/clojure/clojure/1.11.1/clojure-1.11.1.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.1/clojure-1.11.1.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.1"
+ 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.1696795921 -- Copyright (C) 2005-2023 Mike Pall. https://luajit.org/
+ julia --version
julia version 1.9.3
+ head -n2
+ gfortran --version
GNU Fortran (Homebrew GCC 13.2.0) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
+ node --version
v20.8.0
+ tsc --version
Version 5.2.2
+ sbcl --version
SBCL 2.3.8
+ mlton_wrapper
MLton 20210117
+ head -n2
+ vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 07 2023 20:03:18)
適用済パッチ: 1-2000
+ 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.0.2] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] [jit:ns]

Elixir 1.15.6 (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 20231016-1
+ head -n2
+ wspace
wspace 0.4 (c) 2003 Edwin Brady
-------------------------------