skip to content
logo image Umamichang's Nest

任意の言語でatcoder-cliから提出

/ 2 min read

” — “の後の引数がonline-judge-toolに渡されるので、そこで指定できる

Terminal window
$ acc s -- <your_file_name> --language <language_ID>
# example
$ acc s -- main.ts --language 5090

言語IDはAtCoderの提出画面のHTMLに書いてある。 言語アップデート時に変わりそうなので要注意

ID略称正式名称
5001c_cppC++ 20 (gcc 12.2)
5002golangGo (go 1.20.6)
5003csharpC# 11.0 (.NET 7.0.7)
5004kotlinKotlin (Kotlin/JVM 1.8.20)
5005javaJava (OpenJDK 17)
5006nimNim (Nim 1.6.14)
5007textV (V 0.4)
5008textZig (Zig 0.10.1)
5009javascriptJavaScript (Node.js 18.16.1)
5010javascriptJavaScript (Deno 1.35.1)
5011rR (GNU R 4.2.1)
5012dD (DMD 2.104.0)
5013dD (LDC 1.32.2)
5014swiftSwift (swift 5.8.1)
5015dartDart (Dart 3.0.5)
5016phpPHP (php 8.2.8)
5017c_cppC (gcc 12.2.0)
5018rubyRuby (ruby 3.2.2)
5019crystalCrystal (Crystal 1.9.1)
5020textBrainfuck (bf 20041219)
5021fsharpF# 7.0 (.NET 7.0.7)
5022juliaJulia (Julia 1.9.2)
5023shBash (bash 5.2.2)
5024textText (cat 8.32)
5025haskellHaskell (GHC 9.4.5)
5026fortranFortran (gfortran 12.2)
5027luaLua (LuaJIT 2.1.0-beta3)
5028c_cppC++ 23 (gcc 12.2)
5029lispCommon Lisp (SBCL 2.3.6)
5030cobolCOBOL (Free) (GnuCOBOL 3.1.2)
5031c_cppC++ 23 (Clang 16.0.6)
5032shZsh (Zsh 5.9)
5033pythonSageMath (SageMath 9.5)
5034shSed (GNU sed 4.8)
5035textbc (bc 1.07.1)
5036textdc (dc 1.07.1)
5037perlPerl (perl 5.34)
5038shAWK (GNU Awk 5.0.1)
5039textなでしこ (cnako3 3.4.20)
5040textAssembly x64 (NASM 2.15.05)
5041pascalPascal (fpc 3.2.2)
5042csharpC# 11.0 AOT (.NET 7.0.7)
5043luaLua (Lua 5.4.6)
5044prologProlog (SWI-Prolog 9.0.4)
5045shPowerShell (PowerShell 7.3.1)
5046schemeScheme (Gauche 0.9.12)
5047scalaScala 3.3.0 (Scala Native 0.4.14)
5048vbscriptVisual Basic 16.9 (.NET 7.0.7)
5049textForth (gforth 0.7.3)
5050clojureClojure (babashka 1.3.181)
5051erlangErlang (Erlang 26.0.2)
5052typescriptTypeScript 5.1 (Deno 1.35.1)
5053c_cppC++ 17 (gcc 12.2)
5054rustRust (rustc 1.70.0)
5055pythonPython (CPython 3.11.4)
5056scalaScala (Dotty 3.3.0)
5057textKoka (koka 2.4.0)
5058typescriptTypeScript 5.1 (Node.js 18.16.1)
5059ocamlOCaml (ocamlopt 5.0.0)
5060rakuRaku (Rakudo 2023.06)
5061textVim (vim 9.0.0242)
5062lispEmacs Lisp (Native Compile) (GNU Emacs 28.2)
5063pythonPython (Mambaforge / CPython 3.10.10)
5064clojureClojure (clojure 1.11.1)
5065textプロデル (mono版プロデル 1.9.1182)
5066textECLiPSe (ECLiPSe 7.1_13)
5067textNibbles (literate form) (nibbles 1.01)
5068adaAda (GNAT 12.2)
5069textjq (jq 1.6)
5070textCyber (Cyber v0.2-Latest)
5071clojureCarp (Carp 0.5.5)
5072c_cppC++ 17 (Clang 16.0.6)
5073c_cppC++ 20 (Clang 16.0.6)
5074textLLVM IR (Clang 16.0.6)
5075lispEmacs Lisp (Byte Compile) (GNU Emacs 28.2)
5076textFactor (Factor 0.98)
5077dD (GDC 12.2)
5078pythonPython (PyPy 3.10-v7.3.12)
5079textWhitespace (whitespacers 1.0.0)
5080text><> (fishr 0.1.0)
5081ocamlReasonML (reason 3.9.0)
5082pythonPython (Cython 0.29.34)
5083matlabOctave (GNU Octave 8.2.0)
5084haxeHaxe (JVM) (Haxe 4.3.1)
5085elixirElixir (Elixir 1.15.2)
5086textMercury (Mercury 22.01.6)
5087textSeed7 (Seed7 3.2.1)
5088lispEmacs Lisp (No Compile) (GNU Emacs 28.2)
5089textUnison (Unison M5b)
5090cobolCOBOL (GnuCOBOL(Fixed) 3.1.2)