GithubHelp home page GithubHelp logo

atcoder-python's Introduction

atcoder-python

前提条件

Rancher Dektopをインストールしていること

利用方法

1.下記コマンドで本リポジトリをローカルにクローンする

git clone [email protected]:hiyasichuka/atcoder-python.git

2.VSCodeでディレクトリを開く

cd atcoder-python
code .

3.左下の><マークを押下して、Repopen in Containerをクリックする

4.ターミナルをzshに切り替える

スクリーンショット 2021-12-27 16 46 27

AtCoder参戦手順


1.AtCoderにログインする

acc login
# AtCoderへのログインパスワード認証を行う

スクリーンショット 2021-12-27 16 00 28


2.online-judge-toolsにもログイン

oj login https://atcoder.jp/
# AtCoderのログインパスワード認証を行う

image


3.problemsフォルダに移動して、コンテンストディレクトリを生成する

cd problems
acc new abc100
# acc new {contestID}
# contestIDはコンテストURLの末尾にあるエンドポイント名

4.問題を解く

VSCodeのエクスプローラから、コンテストフォルダにあるpyファイルを開いてコーディングする。


5.テストする

oj t -c "python x.py"

スクリーンショット 2021-12-27 17 01 29


6.AtCoderに解答を提出する

acc s
# 確認用文字列を打ち込んでEnterを押す

スクリーンショット 2021-12-27 17 01 29


7.ブラウザが立ち上がって採点される

image


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.