/aojtool

A CLI automation tool for Aizu Online Judge

Primary LanguageGoMIT LicenseMIT

aojtool

A CLI automation tool for Aizu Online Judge.

  • Run your code with sample inputs and compare with the correct outputs
  • Submit your code to AOJ
  • Enable you to check your profile and recent submission records

Installation

$ go get github.com/ken-tunc/aojtool

Make sure that $GOPATH/bin is in your $PATH.

Usage

Login

Login to Aizu Online Judge.

$ aojtool login

Run Code

Run your code with sample inputs and compare it with the correct outputs.

$ aojtool run ALDS1_1_A main.c

Programming language of the source code will be detected automatically.

Submit Your Code

Submit your code to AOJ.

$ aojtool submit ALDS1_1_A main.c

You can specify language with -l flag, defaults to your default programming language of AOJ.

Check Status

Check your profile and recent submission records.

$ aojtool status

You can specify the number of submissions with -n flag.

Logout

Logout from AOJ.

$ aojtool logout

License

See LICENSE.