Crates.io | kunai |
lib.rs | kunai |
version | 0.4.0 |
source | src |
created_at | 2019-11-01 13:03:19.681303 |
updated_at | 2019-12-30 10:56:22.141409 |
description | A competitive programming tool for Rust |
homepage | |
repository | https://github.com/mouri111/kunai |
max_upload_size | |
id | 177367 |
size | 186,541 |
A competitive programming tool for Rust.
cargo install --path . --locked
Below command outputs a unified code of src/bin/<binname>.rs
.
kunai unify <binname>
For AtCoder(Rust 1.15.1)
kunai unify --no-eprint --rust2015 <binname>
To use your snippet crates, write dependencies in Cargo.toml like below.
[dependencies]
my_snippets = { path = "/path/to/my_snippets" }
Below command stores sample testcases in /path-to-cache_dir/kunai/atcoder/contest_name/problem_name/sample_id.{in,out}
kunai download <problem_url>
kunai atcoder login
After downloading testcases, below command tests sample testcases.
kunai test atcoder/<contest-name>/<problem-name> <binname>
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.