for AtCoder user golang
$ pip3 install online-judge-tools
$ npm install -g atcoder-cli
$ exec $SHELL -l
$ oj login https://atcoder.jp/
$ acc login
$ acc check-oj
$ cp -r go-template `acc config-dir`
# confirm templates
$ acc templates
NAME SUBMIT-PROGRAM
go-template main.go
$ acc config default-template go-template
# example. if contest name is abc051
$ acc new abc051
$ cd abc051/a
$ vim main.go # write solution
$ oj t -c "go run ./main.go" -d tests # recommended to set an alias
$ acc submit main.go