acc

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2019 License: MIT Imports: 1 Imported by: 0

README

acc

CircleCI Coverage Status GoDoc license Go Report Card

all clear check

Install

$ go get -u github.com/smith-30/acc

Usage

atcoder
$ acc atcoder -u https://atcoder.jp/contests/<problem path> -c "go run path/to/main.go"

after above command, cache db is created at $GOPATH/bin/acc.db. this is to ensure that acc does not load the site.

example

$ acc atcoder -u https://atcoder.jp/contests/abc119/tasks/abc119_b -c "go run ./main.go"
start atcoder test v0.0.0-e0ce3ec (built with go1.12.1)

Case [0] exp: 48000.0
	ok!
Case [1] exp: 138000000.0038
	ok!

Contribution

Add other contest

clone this repository and add command.

$ cobra add <contest> # ex. aoj 

write the logic as contest.go is created in the cmd directory.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
infra
usecase

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL