mi-24v / at_coder_contests

https://atcoder.jp/users/miwpayou

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

at_coder_contests

miwpayou0808の練習用

prerequisites

usage

init

yarn install --pure-lockfile
pyenv install $(cat .python-version)
poetry env use "${HOME}/.pyenv/versions/$(cat .python-version)/bin/python"
poetry install

yarn run acc config oj-path $(poetry env info --path)/bin/oj
yarn run acc login

new contests

$contest_nameabc190とかatcoder-cliが認識できるやつ

yarn run acc new $contest_name

test & submit

$task_dir$contest_name/aとか

python以外での実行はoj/getting-started.ja.md at master · online-judge-tools/oj参照

cd $task_dir
touch main.py # write some code
mv tests test
# test with oj
poetry run oj t -c "python main.py"
# submit with atcoder-cli
yarn run acc submit -c abc194 -t abc194_c $(readlink -f main.py)

About

https://atcoder.jp/users/miwpayou

License:Other


Languages

Language:Python 60.2%Language:C++ 39.8%