実行OS環境
Ubuntu
実行コマンド
| 言語 | バージョン | 言語ID | コンパイルコマンド | コンパイル内部コマンド | 実行コマンド | 実行内部コマンド |
|---|---|---|---|---|---|---|
| C++17 | gcc 15.2.0 + boost 1.89.0 | cpp17 | g++-15 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ | ./a.out | ||
| C++17(gnu拡張) | gcc 15.2.0 + boost 1.89.0 | cpp17_gnu | g++-15 -O2 -lm -std=gnu++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ | ./a.out | ||
| C++17(gcc13) | gcc 13.4.0 + boost 1.89.0 | cpp17_gcc13 | g++-13 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ | ./a.out | ||
| C++17(gcc12) | gcc 12.4.0 + boost 1.89.0 | cpp17_gcc12 | g++-12 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ | ./a.out | ||
| C++17(clang) | clang++ 21.1.8 + boost 1.89.0 | cpp-clang | clang++ -O2 -lm -std=c++1z -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ | ./a.out | ||
| C++23 | gcc 15.2.0 + boost 1.89.0 | cpp23 | g++-15 -O2 -lm -std=c++23 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ | ./a.out | ||
| C++14 | gcc 15.2.0 + boost 1.89.0 | cpp14 | g++-15 -O2 -lm -std=c++14 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ | ./a.out | ||
| C++11(廃止可能性あり) | gcc 15.2.0 + boost 1.89.0 | cpp | g++-15 -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_ | ./a.out | ||
| C | gcc 15.2.0 | c11 | gcc-15 -O2 -DONLINE_JUDGE -o a.out _filename_ -lm | ./a.out | ||
| C90 | gcc 12.4.0 | c | gcc-12 -O2 -std=c90 -DONLINE_JUDGE -o a.out _filename_ -lm | ./a.out | ||
| Java | openjdk 25.0.1 | java8 | javac -encoding UTF8 _filename_ | java -ea -Xmx700m -Xss256M -DONLINE_JUDGE=true _class_ | ||
| C# | .NET 10.0.101 | csharp_dotnet | dotnet_c | export DOTNET_EnableWriteXorExecute=0 echo '<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><ImplicitUsings>enable</ImplicitUsings><OutputType>Exe</OutputType><TargetFramework>net10.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_ROOT=/home/judge/.dotnet export DOTNET_EnableWriteXorExecute=0 ./bin/Release/net10.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.42.0 | perl | perl -cw _filename_ | perl -X _filename_ | ||
| Raku | rakudo v2025.12 | raku | raku -c _filename_ | raku _filename_ | ||
| PHP | 8.5.1 | php | php -l _filename_ | php _filename_ | ||
| Python3 | 3.14.2 + numpy 2.4.0 + scipy 1.16.3 | python3 | python3 -mpy_compile _filename_ | python3 _filename_ | ||
| PyPy3 | 7.3.17 | pypy3 | pypy3 -mpy_compile _filename_ | pypy3 _filename_ | ||
| PyPy2 | 7.3.20 | pypy2 | pypy2 -m py_compile _filename_ | /usr/bin/pypy2 Main.pyc | ||
| Ruby | 4.0.0 | ruby | ruby -w -c _filename_ | ruby _filename_ | ||
| D | dmd 2.111.0 | 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.25.5 | go | env GOCACHE=/tmp go build _filename_ | ./Main | ||
| Haskell | 9.12.2 | haskell | ghc -rtsopts -with-rtsopts=-K1G -o a.out -O2 _filename_ | ./a.out | ||
| Scala(Beta) | 3.7.4 | scala | scalac _filename_ | scala run -cp . --main-class _class_ | ||
| Nim | 2.2.6 | nim | nim --nimcache=~ --hints:off -o:a.out -d:release cpp _filename_ | ./a.out | ||
| Rust | 1.92.0 + proconio + num | 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.3.0 | kotlin | kotlinc _filename_ -include-runtime -d main.jar | kotlin main.jar | ||
| Scheme | Gauche-0.9.15 | scheme | true | gosh _filename_ | ||
| Crystal | 1.18.2 | crystal | crystal build -Donline_judge -o a.out --release --no-debug _filename_ | ./a.out | ||
| Swift | 6.2.3 | swift | swiftc _filename_ -Ounchecked -o a.out | ./a.out | ||
| OCaml | 5.4.0 | 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# 9.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>net10.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_ROOT=/home/judge/.dotnet export DOTNET_EnableWriteXorExecute=0 ./bin/Release/net10.0/main |
| Elixir | 1.19.4 | elixir | elixirc _filename_ | elixir -e Main.main | ||
| Lua | LuaJit 2.1.1765228720 | lua | luajit -b _filename_ a.out | luajit _filename_ | ||
| Julia | 1.12.3 | julia | true | julia _filename_ | ||
| Fortran | gFortran 15.2.0 | fortran | gfortran _filename_ -O2 -o ./a.out | ./a.out | ||
| JavaScript | node v25.2.1 | node | true | node _filename_ ONLINE_JUDGE | ||
| TypeScript | 5.9.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.5.10 | lisp | sbclc _filename_ | sbcl --script Main.fasl | ||
| Standard ML | MLton 20210117 | sml | mlton_wrapper _filename_ | ./main | ||
| Kuin | KuinC++ v.2021.9.17 | kuin | kuinc -i _filename_ -o out.cpp -s /kuin/sys/ -e cpp -r -q | /usr/bin/kuinc_core \$@ && clang++ -std=c++17 -O2 out.cpp -o a.out |
./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 3.01 | nasm | nasmc Main | nasm -f elf64 -Werror $1.asm && ld -s -o a.out $1.o |
./a.out | |
| cLay | 20250308-1 + boost 1.89.0 | 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 : 2 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 spectre_v2_user its 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 : 2 core id : 0 cpu cores : 1 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 spectre_v2_user its bogomips : 4599.99 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management:
各コンパイラバージョン
万が一、上の記述と異なるものがある場合は下のコマンドが最新です。
+ g++ --version
g++ (Ubuntu 14.2.0-19ubuntu2) 14.2.0
Copyright (C) 2024 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
+ g++-13 --version
gcc (Ubuntu 14.2.0-19ubuntu2) 14.2.0
Copyright (C) 2024 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 (GCC) 13.4.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 21.1.8
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/linuxbrew/.linuxbrew/Cellar/llvm/21.1.8/bin
+ java -version
openjdk version "25.0.1" 2025-10-21
OpenJDK Runtime Environment Homebrew (build 25.0.1)
OpenJDK 64-Bit Server VM Homebrew (build 25.0.1, mixed mode, sharing)
+ dotnet --version
10.0.101
+ 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 42, subversion 0 (v5.42.0) built for x86_64-linux-thread-multi
+ raku -version
Welcome to Rakudo™ v2025.12.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2025.12.
+ php --version
PHP 8.5.1 (cli) (built: Dec 16 2025 15:59:07) (NTS)
Copyright (c) The PHP Group
Built by Homebrew
Zend Engine v4.5.1, Copyright (c) Zend Technologies
with Zend OPcache v8.5.1, Copyright (c), by Zend Technologies
+ python2x --version
Python 2.7.18
+ python3 --version
Python 3.14.2
+ cat
+ python3 ver.py
numpy: 2.4.0
scipy: 1.16.3
+ pypy2 --version
Python 2.7.18 (c8e5dc4b395b, Jul 03 2025, 08:04:34)
[PyPy 7.3.20 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 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [x86_64-linux]
+ dmd --version
DMD64 D Compiler v2.111.0
Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved written by Walter Bright
+ go version
go version go1.25.5 linux/amd64
+ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.12.2
+ scalac -version
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by scala.runtime.LazyVals$ (file:/home/linuxbrew/.linuxbrew/Cellar/scala/3.7.4/libexec/maven2/org/scala-lang/scala3-library_3/3.7.4/scala3-library_3-3.7.4.jar)
WARNING: Please consider reporting this to the maintainers of class scala.runtime.LazyVals$
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
Scala compiler version 3.7.4 -- Copyright 2002-2025, LAMP/EPFL
+ head -n2
+ nim --version
Nim Compiler Version 2.2.6 [Linux: amd64]
Compiled at 2025-10-31
+ rustc --version
rustc 1.92.0 (ded5c06cf 2025-12-08) (Homebrew)
+ kotlinc -version
info: kotlinc-jvm 2.3.0 (JRE 25.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_1" "--libdir=/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.15_1/lib" "--enable-multibyte=utf-8" "--with-ca-bundle=/home/linuxbrew/.linuxbrew/share/ca-certificates/cacert.pem" "CC=gcc-12")
(scheme.path "/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.15_1/share/gauche-0.98/site/lib" "/home/linuxbrew/.linuxbrew/Cellar/gauche/0.9.15_1/share/gauche-0.98/0.9.15/lib")
(threads pthreads)
(gauche.net.tls mbedtls)
+ crystal -v
Crystal 1.18.2 (2025-10-21)
LLVM: 21.1.8
Default target: x86_64-unknown-linux-gnu
+ swiftc --version
Swift version 6.2.3 (swift-6.2.3-RELEASE)
Target: x86_64-unknown-linux-gnu
+ ocamlfind ocamlopt -version
5.4.0
+ clojure -e '(clojure-version)'
Downloading: org/clojure/clojure/1.12.4/clojure-1.12.4.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.pom from central
Downloading: org/clojure/clojure/1.12.4/clojure-1.12.4.jar 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
WARNING: Implicit use of clojure.main with options is deprecated, use -M -e (clojure-version)
"1.12.4"
+ dotnet fsi --version
Welcome to .NET 10.0!
---------------------
SDK Version: 10.0.101
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Microsoft (R) F# Interactive version 14.0.101.0 for F# 10.0
+ luajit -v
LuaJIT 2.1.1765228720 -- Copyright (C) 2005-2025 Mike Pall. https://luajit.org/
+ julia --version
julia version 1.12.3
+ head -n2
+ gfortran --version
GNU Fortran (GCC) 15.2.0
Copyright (C) 2025 Free Software Foundation, Inc.
+ node --version
v25.2.1
+ tsc --version
Version 5.9.3
+ sbcl --version
SBCL 2.5.10
+ mlton_wrapper
MLton 20241230
+ head -n2
+ vim --version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Dec 20 2025 16:00:17)
Included patches: 1-2000
+ head -n2
+ bash --version
GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
+ head -n2
+ cat --version
cat (GNU coreutils) 9.5
Copyright (C) 2024 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 28 [erts-16.1.2] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]
Elixir 1.19.4 (compiled with Erlang/OTP 28)
+ /usr/bin/kuinc -v
Kuin Programming Language v.2021.9.17
(C)Kuina-chan
+ nasm -v
NASM version 3.01 compiled on Oct 11 2025
+ sed -n 9p
+ clay
+ echo ''
// cLay version 20250308-1
+ wspace --version
Error: Unrecognized option --version