MENU

atcoderのjudgeの階層構造と調べ方

はじめに

atcoderの階層構造は普段競技プログラミングをするに当たっては必要ありませんが、黒魔術をする時に使用することがあるのでまとめます

問題がある場合すぐに消します。

aotamasaki.hatenablog.com

調べ方

bashのlsコマンドで調べます。treeコマンドとか使いたいのですがそんな物は無いので、 qiita.com で代用してます

ls /

下のディレクトリの中から使えそうなやつだけ紹介します 他に使えそうな物があればhotman (@hotmanww) | Twitterまでお願いします

bin
boot
copyright
dev
etc
home
imojudge
lib
lib32
lib64
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var

/imojudge/sandbox

大体の言語はここで実行

/imojudge/sandbox
|  |--bash
|  |--bunzip2
|  |--bzcat
|  |--bzcmp
|  |--bzdiff
|  |--bzegrep
|  |--bzexe
|  |--bzfgrep
|  |--bzgrep
|  |--bzip2
|  |--bzip2recover
|  |--bzless
|  |--bzmore
|  |--cat
|  |--chgrp
|  |--chmod
|  |--chown
|  |--chvt
|  |--cp
|  |--cpio
|  |--dash
|  |--date
|  |--dd
|  |--df
|  |--dir
|  |--dmesg
|  |--dnsdomainname
|  |--domainname
|  |--dumpkeys
|  |--echo
|  |--egrep
|  |--false
|  |--fgconsole
|  |--fgrep
|  |--findmnt
|  |--fuser
|  |--grep
|  |--gunzip
|  |--gzexe
|  |--gzip
|  |--hostname
|  |--ip
|  |--journalctl
|  |--kbd_mode
|  |--kill
|  |--kmod
|  |--less
|  |--lessecho
|  |--lessfile
|  |--lesskey
|  |--lesspipe
|  |--ln
|  |--loadkeys
|  |--login
|  |--loginctl
|  |--ls
|  |--lsblk
|  |--lsmod
|  |--mkdir
|  |--mknod
|  |--mktemp
|  |--more
|  |--mountpoint
|  |--mt
|  |--mt-gnu
|  |--mv
|  |--nc
|  |--nc.openbsd
|  |--netcat
|  |--networkctl
|  |--nisdomainname
|  |--open
|  |--openvt
|  |--pidof
|  |--ping4
|  |--ping6
|  |--ps
|  |--pwd
|  |--rbash
|  |--readlink
|  |--rm
|  |--rmdir
|  |--run-parts
|  |--rzsh
|  |--sed
|  |--setfont
|  |--setupcon
|  |--sh
|  |--sh.distrib
|  |--sleep
|  |--ss
|  |--stty
|  |--sync
|  |--systemctl
|  |--systemd
|  |--systemd-ask-password
|  |--systemd-escape
|  |--systemd-hwdb
|  |--systemd-inhibit
|  |--systemd-machine-id-setup
|  |--systemd-notify
|  |--systemd-sysusers
|  |--systemd-tmpfiles
|  |--systemd-tty-ask-password-agent
|  |--tar
|  |--tempfile
|  |--touch
|  |--true
|  |--udevadm
|  |--ulockmgr_server
|  |--uname
|  |--uncompress
|  |--unicode_start
|  |--vdir
|  |--wdctl
|  |--which
|  |--whiptail
|  |--ypdomainname
|  |--zcat
|  |--zcmp
|  |--zdiff
|  |--zegrep
|  |--zfgrep
|  |--zforce
|  |--zgrep
|  |--zless
|  |--zmore
|  |--znew
|  |--zsh
|  |--zsh5

/imojudge/csharp

C#の実行環境

/imojudge/csharp
|--csharp.csproj
|--obj
|  |--csharp.csproj.nuget.dgspec.json
|  |--csharp.csproj.nuget.g.props
|  |--csharp.csproj.nuget.g.targets
|  |--project.assets.json
|  |--project.nuget.cache
|--Program.cs

/imojudge/fsharp

F#の実行環境

/imojudge/fsharp
|--fsharp.fsproj
|--obj
|  |--fsharp.fsproj.nuget.dgspec.json
|  |--fsharp.fsproj.nuget.g.props
|  |--fsharp.fsproj.nuget.g.targets
|  |--project.assets.json
|  |--project.nuget.cache
|--Program.fs

/imojudge/rust

rustの実行環境 いっぱいだぁ

/imojudge/rust
|--Cargo.lock
|--Cargo.toml
|--src
|  |--main.rs
|--target
|  |--release
|  |  |--build
|  |  |  |--getrandom-8adbef0e58e29ab1
|  |  |  |  |--invoked.timestamp
|  |  |  |  |--out
|  |  |  |  |--output
|  |  |  |  |--root-output
|  |  |  |  |--stderr
|  |  |  |--getrandom-ee8d950eddb16ff2
|  |  |  |  |--build-script-build
|  |  |  |  |--build_script_build-ee8d950eddb16ff2
|  |  |  |  |--build_script_build-ee8d950eddb16ff2.d
|  |  |  |--im-rc-42fdf6419bd3d574
|  |  |  |  |--build-script-build
|  |  |  |  |--build_script_build-42fdf6419bd3d574
|  |  |  |  |--build_script_build-42fdf6419bd3d574.d
|  |  |  |--im-rc-c693654aec670260
|  |  |  |  |--invoked.timestamp
|  |  |  |  |--out
|  |  |  |  |--output
|  |  |  |  |--root-output
|  |  |  |  |--stderr
|  |  |  |--indexmap-67a39c2f11f9dfe8
|  |  |  |  |--invoked.timestamp
|  |  |  |  |--out
|  |  |  |  |  |--probe0.ll
|  |  |  |  |  |--probe1.ll
|  |  |  |  |--output
|  |  |  |  |--root-output
|  |  |  |  |--stderr
|  |  |  |--indexmap-72d0cd8fb60a4f2c
|  |  |  |  |--build-script-build
|  |  |  |  |--build_script_build-72d0cd8fb60a4f2c
|  |  |  |  |--build_script_build-72d0cd8fb60a4f2c.d
|  |  |  |--libc-6dfa91a335830f72
|  |  |  |  |--invoked.timestamp
|  |  |  |  |--out
|  |  |  |  |--output
|  |  |  |  |--root-output
|  |  |  |  |--stderr
|  |  |  |--libc-c67abeb73b11d80f
|  |  |  |  |--build-script-build
|  |  |  |  |--build_script_build-c67abeb73b11d80f
|  |  |  |  |--build_script_build-c67abeb73b11d80f.d
|  |  |  |--libm-046970b86b9acfa4
|  |  |  |  |--build-script-build
|  |  |  |  |--build_script_build-046970b86b9acfa4
|  |  |  |  |--build_script_build-046970b86b9acfa4.d
|  |  |  |--libm-9b1cabcb7828f223
|  |  |  |  |--invoked.timestamp
|  |  |  |  |--out
|  |  |  |  |--output
|  |  |  |  |--root-output
|  |  |  |  |--stderr
|  |  |  |--memchr-12f87ccc7f9931a7
|  |  |  |  |--build-script-build
|  |  |  |  |--build_script_build-12f87ccc7f9931a7
|  |  |  |  |--build_script_build-12f87ccc7f9931a7.d
|  |  |  |-...

/imojudge/visualbasic

visualbasicの実行環境

/imojudge/visualbasic
|--obj
|  |--project.assets.json
|  |--project.nuget.cache
|  |--visualbasic.vbproj.nuget.dgspec.json
|  |--visualbasic.vbproj.nuget.g.props
|  |--visualbasic.vbproj.nuget.g.targets
|--Program.vb
|--visualbasic.vbproj

/bin

色々なコマンドがある

/bin
|--bash
|--bunzip2
|--bzcat
|--bzcmp
|--bzdiff
|--bzegrep
|--bzexe
|--bzfgrep
|--bzgrep
|--bzip2
|--bzip2recover
|--bzless
|--bzmore
|--cat
|--chgrp
|--chmod
|--chown
|--chvt
|--cp
|--cpio
|--dash
|--date
|--dd
|--df
|--dir
|--dmesg
|--dnsdomainname
|--domainname
|--dumpkeys
|--echo
|--egrep
|--false
|--fgconsole
|--fgrep
|--findmnt
|--fuser
|--grep
|--gunzip
|--gzexe
|--gzip
|--hostname
|--ip
|--journalctl
|--kbd_mode
|--kill
|--kmod
|--less
|--lessecho
|--lessfile
|--lesskey
|--lesspipe
|--ln
|--loadkeys
|--login
|--loginctl
|--ls
|--lsblk
|--lsmod
|--mkdir
|--mknod
|--mktemp
|--more
|--mountpoint
|--mt
|--mt-gnu
|--mv
|--nc
|--nc.openbsd
|--netcat
|--networkctl
|--nisdomainname
|--open
|--openvt
|--pidof
|--ping4
|--ping6
|--ps
|--pwd
|--rbash
|--readlink
|--rm
|--rmdir
|--run-parts
|--rzsh
|--sed
|--setfont
|--setupcon
|--sh
|--sh.distrib
|--sleep
|--ss
|--stty
|--sync
|--systemctl
|--systemd
|--systemd-ask-password
|--systemd-escape
|--systemd-hwdb
|--systemd-inhibit
|--systemd-machine-id-setup
|--systemd-notify
|--systemd-sysusers
|--systemd-tmpfiles
|--systemd-tty-ask-password-agent
|--tar
|--tempfile
|--touch
|--true
|--udevadm
|--ulockmgr_server
|--uname
|--uncompress
|--unicode_start
|--vdir
|--wdctl
|--which
|--whiptail
|--ypdomainname
|--zcat
|--zcmp
|--zdiff
|--zegrep
|--zfgrep
|--zforce
|--zgrep
|--zless
|--zmore
|--znew
|--zsh
|--zsh5

/dev

入出力等が入ってるっぽい

atcoderさん、ここに想定解おいてみてはいかがですか?

/dev
|--fd
|--full
|--null
|--random
|--stderr
|--stdin
|--stdout
|--tty
|--urandom
|--zero

/etc

コンパイルコマンドが入ってるみたい かなり重要?

/etc
|--adduser.conf
|--alternatives
|  |--aclocal
|  |--aclocal.1.gz
|  |--appletviewer
|  |--appletviewer.1.gz
|  |--assembly-linker
|  |--automake
|  |--automake.1.gz
|  |--awk
|  |--awk.1.gz
|  |--bin2obj
|  |--bin2obj.1.gz
|  |--builtins.7.gz
|  |--c++
|  |--c++.1.gz
|  |--c89
|  |--c89.1.gz
|  |--c99
|  |--c99.1.gz
|  |--cc
|  |--cc.1.gz
|  |--chmcmd
|  |--chmcmd.1.gz
|  |--chmls
|  |--chmls.1.gz
|  |--clang
|  |--clang++
|  |--clhsdb
|  |--cli
|  |--cli.1.gz
|  |--cli-al.1.gz
|  |--cli-csc.1.gz
|  |--cli-gacutil.1.gz
|  |--cli-resgen.1.gz
|  |--cli-sn.1.gz
|  |--cpp
|  |--c-sharp-compiler
|  |--data2inc
|  |--data2inc.1.gz
|  |--delp
|  |--delp.1.gz
|  |--editor
|  |--editor.1.gz
|  |--editor.da.1.gz
|  |--editor.de.1.gz
|  |--editor.fr.1.gz
|  |--editor.it.1.gz
|  |--editor.ja.1.gz
|  |--editor.pl.1.gz
|  |--editor.ru.1.gz
|  |--ex
|  |--ex.1.gz
|  |--ex.da.1.gz
|  |--ex.de.1.gz
|  |--ex.fr.1.gz
|  |--ex.it.1.gz
|  |--ex.ja.1.gz
|  |--ex.pl.1.gz
|  |--ex.ru.1.gz
|  |--extcheck
|  |--extcheck.1.gz
|  |--faked.1.gz
|  |--faked.es.1.gz
|  |--faked.fr.1.gz
|  |--faked.sv.1.gz
|  |--fakeroot
|  |--fakeroot.1.gz
|  |--fakeroot.es.1.gz
|  |--fakeroot.fr.1.gz
|  |--fakeroot.sv.1.gz
|  |--fp
|  |--fpc
|  |--fpc.1.gz
|  |--fpc.cfg
|  |--fpc-depends
|  |--fpc-depends.1.gz
|  |--fpclasschart
|  |--fpclasschart.1.gz
|  |--fpcmake
|  |--fpcmake.1.gz
|  |--fpcmake.5.gz
|  |--fpcres
|  |--fpcres.1.gz
|  |--fpcsubst
|  |--fpcsubst.1.gz
|  |--fpdoc
|  |--fpdoc.1.gz
|  |--fplexyacc
|  |--fppkg
|  |--fppkg.1.gz
|  |--fprcp
|  |--fprcp.1.gz
|  |--fp-utils
|  |--from
|  |--from.1.gz
|  |--g++
|  |--gcc
|  |--gdc
|  |--gfortran
|  |--global-assembly-cache-tool
|  |--gnustep-back-026
|  |--grab_vcsa
|  |--h2pas
|  |--h2pas.1.gz
|  |--h2paspp
|  |--h2paspp.1.gz
|  |--hsdb
|  |--idlj
|  |--idlj.1.gz
|  |--ifpc
|  |--ifpc.1.gz
|  |--instantfpc
|  |--instantfpc.1.gz
|  |--jaotc
|  |--jar
|  |--jar.1.gz
|  |--jarsigner
|  |--jarsigner.1.gz
|  |--java
|  |--java.1.gz
|  |--javac
|  |--javac.1.gz
|  |--javadoc
|  |--javadoc.1.gz
|  |--...

/opt

ac-library,boost,haxelib,rakudo-pkgが入ってる

/opt
|--ac-library
|  |--atcoder
|  |  |--all
|  |  |--convolution
|  |  |--convolution.hpp
|  |  |--dsu
|  |  |--dsu.hpp
|  |  |--fenwicktree
|  |  |--fenwicktree.hpp
|  |  |--internal_bit
|  |  |--internal_bit.hpp
|  |  |--internal_math
|  |  |--internal_math.hpp
|  |  |--internal_queue
|  |  |--internal_queue.hpp
|  |  |--internal_scc
|  |  |--internal_scc.hpp
|  |  |--internal_type_traits
|  |  |--internal_type_traits.hpp
|  |  |--lazysegtree
|  |  |--lazysegtree.hpp
|  |  |--LICENSE
|  |  |--math
|  |  |--math.hpp
|  |  |--maxflow
|  |  |--maxflow.hpp
|  |  |--mincostflow
|  |  |--mincostflow.hpp
|  |  |--modint
|  |  |--modint.hpp
|  |  |--scc
|  |  |--scc.hpp
|  |  |--segtree
|  |  |--segtree.hpp
|  |  |--string
|  |  |--string.hpp
|  |  |--twosat
|  |  |--twosat.hpp
|  |--document_en
|  |  |--appendix.html
|  |  |--convolution.html
|  |  |--dsu.html
|  |  |--fenwicktree.html
|  |  |--index.html
|  |  |--lazysegtree.html
|  |  |--math.html
|  |  |--maxflow.html
|  |  |--mincostflow.html
|  |  |--modint.html
|  |  |--scc.html
|  |  |--segtree.html
|  |  |--string.html
|  |  |--twosat.html
|  |--document_ja
|  |  |--appendix.html
|  |  |--convolution.html
|  |  |--dsu.html
|  |  |--fenwicktree.html
|  |  |--index.html
|  |  |--lazysegtree.html
|  |  |--math.html
|  |  |--maxflow.html
|  |  |--mincostflow.html
|  |  |--modint.html
|  |  |--scc.html
|  |  |--segtree.html
|  |  |--string.html
|  |  |--twosat.html
|  |--expander.py
|--boost
|  |--clang
|  |  |--include
|  |  |  |--boost
|  |  |  |  |--accumulators
|  |  |  |  |  |--accumulators_fwd.hpp
|  |  |  |  |  |--accumulators.hpp
|  |  |  |  |  |--framework
|  |  |  |  |  |  |--accumulator_base.hpp
|  |  |  |  |  |  |--accumulator_concept.hpp
|  |  |  |  |  |  |--accumulators
|  |  |  |  |  |  |  |--droppable_accumulator.hpp
|  |  |  |  |  |  |--accumulator_set.hpp
|  |  |  |  |  |  |  |--external_accumulator.hpp
|  |  |  |  |  |  |  |--reference_accumulator.hpp
|  |  |  |  |  |  |  |--value_accumulator.hpp
|  |  |  |  |  |  |--depends_on.hpp
|  |  |  |  ...

終わり

手抜きです ごめんなさい