usaco-cli

Crates.iousaco-cli
lib.rsusaco-cli
version
sourcesrc
created_at2024-11-11 05:05:33.822878
updated_at2024-12-06 03:40:05.250232
descriptionUnofficial USACO cli: Supports automatic solution testing and submission
homepage
repositoryhttps://github.com/grimsteel/usaco-cli
max_upload_size
id1443453
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Siddhant Kameswar (grimsteel)

documentation

README

usaco-cli

GitHub Release GitHub Actions Workflow Status Crates.io Version GitHub License GitHub commit activity

demo gif

A command line tool for USACO

Features:

  • Account information
  • View problem info from command line
  • Scaffold solution code
  • Automatically test solutions with sample input cases
  • View solution stats and find new problems to solve (coming soon)

Supported languages:

  • C++ 17
  • Python 3

[!WARNING] This is an unofficial tool, and is neither endorsed nor supported by USACO.

I would not recommend using this during official competitions.

I am not responsible for any consequences from using this tool.

Installation

Source

  1. Clone this repo
  2. cargo build --release

crates.io

  1. cargo install usaco-cli

Binaries

Prebuilt binaries for x86_64-unknown-linux-gnu, aarch64-apple-darwin, and x86_64-pc-windows-msvc are provided on the Releases page

Make a GH issue if you want more targets

Usage

$ usaco --help
USACO command-line interface: supports viewing problem info, automatically testing solutions, and viewing test case diffs.

Usage: usaco [OPTIONS] <COMMAND>

Commands:
  auth         Manage USACO account authentication
  problem      View problem info
  solution     Manage and test solutions
  preferences  Manage CLI preferences
  completion   Generate shell completion files
  ping         Test connection to USACO servers
  help         Print this message or the help of the given subcommand(s)

Options:
  -l, --log-level <LOG_LEVEL>
          Maximum logging level

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version
Commit count: 55

cargo fmt