Rancher Dektopをインストールしていること
1.下記コマンドで本リポジトリをローカルにクローンする
git clone [email protected]:hiyasichuka/atcoder-python.git
2.VSCodeでディレクトリを開く
cd atcoder-python
code .
3.左下の><マークを押下して、Repopen in Containerをクリックする
4.ターミナルをzshに切り替える
1.AtCoderにログインする
acc login
# AtCoderへのログインパスワード認証を行う
2.online-judge-toolsにもログイン
oj login https://atcoder.jp/
# AtCoderのログインパスワード認証を行う
3.problemsフォルダに移動して、コンテンストディレクトリを生成する
cd problems
acc new abc100
# acc new {contestID}
# contestIDはコンテストURLの末尾にあるエンドポイント名
4.問題を解く
VSCodeのエクスプローラから、コンテストフォルダにあるpyファイルを開いてコーディングする。
5.テストする
oj t -c "python x.py"
6.AtCoderに解答を提出する
acc s
# 確認用文字列を打ち込んでEnterを押す
7.ブラウザが立ち上がって採点される