Open 21kazu13 opened 1 year ago
test dood here: https://github.com/21kazu13/judgeenv/commit/e8aacfe4c62438f493b5d9b40ac44494da583304
Complete follows:
Consider how to prepare to use
※gitは引き継がれる想定 https://zenn.dev/coloname33/articles/11590555881668
docker内部必要なコマンド定義
These can do it
// memo: 下記で全体マウントして今のディレクトリでコマンド走らせられる $ docker run --rm -it --mount type=volume,src=atcoder,dst=/shared -w /shared/$(basename $(pwd)) ubuntu:22.10 bash // memo: ojはこれで走る(マウントは検証用のため適当) $ docker run --rm -t -v ./:/home/oj/run -w /home/oj/run runner_pypy oj t -c pypy\ $(ls .py) $ docker run --rm -t -v ./:/home/oj/run -w /home/oj/run runner_pypy oj t -c pypy\ $(ls .py) -e 1e-3 // -t: 色付き // pypy\ $(ls *.py): 良しなにfilename指定