Releases: qryxip/cargo-compete
v0.10.7
Changed
- For ABC cargo-compete no longer extract time limits and the relative/absolute errors, because they are not "specific integers or strings". (qryxip/snowchains#164)
v0.10.6
Changed
-
Reworked the
submit
configuration. (#205)submit.transpile
still works but is deprecated.[submit] kind = "file" path = "{{ src_path }}" language_id = "5054" # Atcoder 202301
[submit] kind = "command" args = ["cargo", "+1.70.0", "equip", "--exclude-atcoder-202301-crates", "--remove", "docs", "--minify", "libs", "--bin", "{{ bin_name }}"] language_id = "5054" # Atcoder 202301
Now the default of
submit
is:[submit] kind = "file" path = "{{ src_path }}" language_id = "4050" # AtCoder 202004
For today's AGC064, you have to:
- Update compete.toml:
template.new.edition
template.new.dependencies
test.toolchain
submit
(as above. note that you also have to writelanguage_id = "5054"
)
- Update template-cargo-lock.toml
before
cargo compete new
.Refer to rust-lang-ja/atcoder-proposal@
202301-update-2023-07-17-freeze
. This repository should be used in the real AtCoder judge system. - Update compete.toml:
v0.10.5
Fixed
- Fixed the problem where
submit
command segfaults (#200 by @yosuke-oka)
v0.10.4
v0.10.3
Fixed
- (also applied to the previous versions unless
--locked
) Accepts "Ex" problems of ABC. (qryxip/snowchains#147) - (also applied to the previous versions unless
--locked
) Allows" \n"
as output text. (qryxip/snowchains#149 by @nebocco)
v0.10.2
Changed
-
(also applied to the previous versions unless
--locked
) Updatedserde-yaml
crate to v0.8.23.match: Float: - relative_error: 0.000001 - absolute_error: 0.000001 + relative_error: 1e-6 + absolute_error: 1e-6
Fixed
v0.10.1
v0.10.0
v0.9.1
Fixed
-
When using
oj-api
, prioritizealphabet
s fromget-contest
over ones fromget-problem
. (#166 by @bouzuya)Now you can use cargo-compete for AtCoder Problems.
v0.9.0
Added
-
Added
template.new.dev-dependencies
. (#152)profile = ''' [dev] opt-level = 3 ''' [template.new] dependencies = ''' proconio = "0.3.7" ''' dev-dependencies = ''' atcoder-202004-lock = { git = "https://github.com/qryxip/atcoder-202004-lock" } '''
-
Enabled running for
example
targets. (#157)[package.metadata.cargo-compete.example] atcoder-abc188-a = { problem = "https://atcoder.jp/contests/abc188/tasks/abc188_a" }
-
Added
add.target-kind
configuration. (#157)
Changed
-
Modified the template for the
init
command. (#156)#[submit.transpile] #kind = "command" -#args = ["cargo", "equip", "--resolve-cfgs", "--remove", "docs", "--minify", "libs", "--rustfmt", "--check", "--bin", "{{ bin_name }}"] +#args = ["cargo", "equip", "--exclude-atcoder-crates", "--resolve-cfgs", "--remove", "docs", "--minify", "libs", "--rustfmt", "--check", "--bin", "{{ bin_name }}"] ##language_id = ""
-
Updated
rust-toolchain
s for Codeforces and yukicoder. (#153) -
Now
download
command requires--overwrite
flag to overwrite existing test files. (#158)❯ cargo compete d error: `/home/ryo/src/local/competitive/atcoder/arc115/testcases/a.yml` already exists. run with `--overwrite` to overwrite ❯ cargo compete d --overwrite Saved 2 test cases to /home/ryo/src/local/competitive/atcoder/arc115/testcases/{a.yml, a/} Saved 2 test cases to /home/ryo/src/local/competitive/atcoder/arc115/testcases/{b.yml, b/} Saved 1 test case to /home/ryo/src/local/competitive/atcoder/arc115/testcases/{c.yml, c/} Saved 2 test cases to /home/ryo/src/local/competitive/atcoder/arc115/testcases/{d.yml, d/} Saved 2 test cases to /home/ryo/src/local/competitive/atcoder/arc115/testcases/{e.yml, e/} Saved 5 test cases to /home/ryo/src/local/competitive/atcoder/arc115/testcases/{f.yml, f/}