snowchains

所属分类:开发工具
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2023-03-25 00:59:58
上 传 者sh-1993
说明:  在线编程竞赛工具。,
(Tools for online programming contests.,)

文件列表:
CHANGELOG.md (5318, 2022-01-29)
Cargo.lock (76745, 2022-01-29)
Cargo.toml (1327, 2022-01-29)
LICENSE-APACHE (11358, 2022-01-29)
LICENSE-MIT (1052, 2022-01-29)
bors.toml (149, 2022-01-29)
codecov.yml (52, 2022-01-29)
resources/ (0, 2022-01-29)
resources/config/ (0, 2022-01-29)
resources/config/default-config.dhall (17238, 2022-01-29)
resources/config/schema/ (0, 2022-01-29)
resources/config/schema/Snowchains/ (0, 2022-01-29)
resources/config/schema/Snowchains/package.dhall (3831, 2022-01-29)
rustfmt.toml (23, 2022-01-29)
snowchains_core/ (0, 2022-01-29)
snowchains_core/CHANGELOG.md (4741, 2022-01-29)
snowchains_core/Cargo.toml (1940, 2022-01-29)
snowchains_core/examples/ (0, 2022-01-29)
snowchains_core/examples/atcoder-login.rs (3919, 2022-01-29)
snowchains_core/examples/atcoder-participate.rs (4085, 2022-01-29)
snowchains_core/examples/atcoder-retrieve-languages.rs (4536, 2022-01-29)
snowchains_core/examples/atcoder-retrieve-test-cases.rs (4994, 2022-01-29)
snowchains_core/examples/atcoder-submit.rs (5041, 2022-01-29)
snowchains_core/examples/codeforces-login.rs (3983, 2022-01-29)
snowchains_core/examples/codeforces-participate.rs (4199, 2022-01-29)
snowchains_core/examples/codeforces-retrieve-languages.rs (4235, 2022-01-29)
snowchains_core/examples/codeforces-retrieve-test-cases.rs (4396, 2022-01-29)
snowchains_core/examples/codeforces-submit.rs (4966, 2022-01-29)
snowchains_core/examples/judge.rs (1956, 2022-01-29)
snowchains_core/examples/yukicoder-retrieve-languages.rs (2935, 2022-01-29)
snowchains_core/examples/yukicoder-retrieve-test-cases.rs (4629, 2022-01-29)
snowchains_core/examples/yukicoder-submit.rs (4120, 2022-01-29)
... ...

# Snowchains [![CI](https://github.com/qryxip/snowchains/workflows/CI/badge.svg)](https://github.com/qryxip/snowchains/actions?workflow=CI) [![Crates.io](https://img.shields.io/crates/v/snowchains.svg)](https://crates.io/crates/snowchains) [![Crates.io](https://img.shields.io/crates/l/snowchains.svg)](https://crates.io/crates/snowchains) Tools for online programming contests. ## Features - Scrapes sample cases as YAML - Tests a source file with downloaded sample cases - Submits a source file - Downloads source file you have submitted | | Register to a contest | Get sample test cases | Get system test cases | Submit | Get submissions | Watch submissions | | :--------: | :-------------------: | :-------------------: | :-------------------: | :----------------: | :-------------: | :----------------: | | AtCoder | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | | Codeforces | :x: | :heavy_check_mark: | N/A | :heavy_check_mark: | :x: | :x: | | yukicoder | N/A | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | ## Instrallation ### GitHub Releases ### `cargo install` (Crates.io) ```console $ cargo install snowchains ``` ### `cargo install` (GitHub) ```console $ cargo install --git https://github.com/qryxip/snowchains ``` ## Usage ```console $ snowchains -h snowchains 0.5.2 Ryo Yamashita Tools for online programming contests USAGE: snowchains FLAGS: -h, --help Prints help information -V, --version Prints version information SUBCOMMANDS: init Create a new config file [aliases: i] login Logges in to a service [aliases: l] participate Participates in a contest retrieve Retrieves data [aliases: r] download Alias for `retrieve testcases` [aliases: d] watch Watches data [aliases: w] judge Tests code [aliases: j, test, t] submit Submits code [aliases: s] xtask Runs a custom subcommand written in the config file [aliases: x] help Prints this message or the help of the given subcommand(s) $ snowchains r -h snowchains-retrieve 0.5.2 Ryo Yamashita Retrieves data USAGE: snowchains retrieve FLAGS: -h, --help Prints help information -V, --version Prints version information SUBCOMMANDS: languages Retrieves list of languages [aliases: l] testcases Retrieves test cases [aliases: t] submission-summaries Retrieves submission summaries [aliases: ss] help Prints this message or the help of the given subcommand(s) $ snowchains w -h snowchains-watch 0.5.2 Ryo Yamashita Watches data USAGE: snowchains watch FLAGS: -h, --help Prints help information -V, --version Prints version information SUBCOMMANDS: submissions Watches your submissions [aliases: s] help Prints this message or the help of the given subcommand(s) ``` ```console $ snowchains i . Wrote `/home/ryo/src/local/a/snowchains.dhall` $ snowchains x setup -h usage: snowchains xtask setup [-h] [-p [PROBLEM [PROBLEM ...]]] service contest {cpp,rs} {code,vim,emacs} positional arguments: service contest {cpp,rs} {code,vim,emacs} optional arguments: -h, --help show this help message and exit -p [PROBLEM [PROBLEM ...]], --problems [PROBLEM [PROBLEM ...]] $ echo "$ATCODER_USERNAME\n$ATCODER_PASSWORD" | snowchains x setup atcoder practice cpp code GET https://atcoder.jp/contests/practice/tasks ... 404 Not Found GET https://atcoder.jp/contests/practice ... 200 OK Username: Password: GET https://atcoder.jp/login ... 200 OK POST https://atcoder.jp/login ... 302 Found GET https://atcoder.jp/settings ... 200 OK GET https://atcoder.jp/contests/practice ... 200 OK GET https://atcoder.jp/contests/practice/tasks ... 200 OK GET https://atcoder.jp/contests/practice/tasks_print ... 200 OK A: Saved to /home/ryo/src/local/a/.snowchains/tests/atcoder/practice/a.yml (2 test cases) B: Saved to /home/ryo/src/local/a/.snowchains/tests/atcoder/practice/b.yml (interactive problem) Opening https://atcoder.jp/contests/practice/tasks/practice_1 ... Opening https://atcoder.jp/contests/practice/tasks/practice_2 ... ``` ![Screenshot](https://user-images.githubusercontent.com/14125495/88492107-56435300-cfe3-11ea-92fe-4ce950ebf1bc.png) ![Record](https://user-images.githubusercontent.com/14125495/88492159-b0dcaf00-cfe3-11ea-8daa-c1eb56d293d6.gif) ## License Dual-licensed under [MIT](https://opensource.org/licenses/MIT) or [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0).

近期下载者

相关文件


收藏者