ターミナルからAOJに提出できるコマンドです。提出時の言語は拡張子から自動的に決められます。
AOJのIDとパスワードを環境変数 AOJID
と AOJPASS
にあらかじめ登録しておく必要があります。
提出
submit [PROBLEM NUMBER] [FILE]
問題表示
submit show [PROBLEM NUMBER]
submit 1 hello.cpp
submit 01 hello.cpp
submit 001 hello.cpp
submit 0001 hello.cpp
submit 0001 hello.cpp
To install, use go get
:
$ go get github.com/upamune/submit
- Fork (https://github.com/upamune/submit/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request