Closed kazuki-hanai closed 11 months ago
related: https://github.com/qryxip/cargo-compete/pull/200
https://github.com/qryxip/cargo-equip/blob/57a4bb66eb424d76f61c7f98df16306fceb587fd/Cargo.toml#L28
prettytable-rs 0.8.0 will cause segfault at latest (1.67.x or later) rust.
workaround:
rustup install 1.66.1
cargo +1.66.1 install cargo-compete --locked --force
cargo +1.66.1 install cargo-equip --locked --force
Probably resolved by #193.
I will release next version tomorrow.
I got segmentation fault error.
Result
Source code
fn main() { input!{ N: usize, Q: usize, A: [u64; N], TXY: [(usize, usize, u64); Q], }
}
[package] name = "pastbook2022" version = "0.1.0" edition = "2018"
[package.metadata.cargo-compete.bin] pastbook2022-a = { alias = "a", problem = "https://atcoder.jp/contests/pastbook2022/tasks/pastbook2022_a" } pastbook2022-b = { alias = "b", problem = "https://atcoder.jp/contests/pastbook2022/tasks/pastbook2022_b" } pastbook2022-c = { alias = "c", problem = "https://atcoder.jp/contests/pastbook2022/tasks/pastbook2022_c" } pastbook2022-d = { alias = "d", problem = "https://atcoder.jp/contests/pastbook2022/tasks/pastbook2022_d" } pastbook2022-e = { alias = "e", problem = "https://atcoder.jp/contests/pastbook2022/tasks/pastbook2022_e" } pastbook2022-f = { alias = "f", problem = "https://atcoder.jp/contests/pastbook2022/tasks/pastbook2022_f" } pastbook2022-g = { alias = "g", problem = "https://atcoder.jp/contests/pastbook2022/tasks/pastbook2022_g" } pastbook2022-h = { alias = "h", problem = "https://atcoder.jp/contests/pastbook2022/tasks/pastbook2022_h" }
[[bin]] name = "pastbook2022-a" path = "src/bin/a.rs"
[[bin]] name = "pastbook2022-b" path = "src/bin/b.rs"
[[bin]] name = "pastbook2022-c" path = "src/bin/c.rs"
[[bin]] name = "pastbook2022-d" path = "src/bin/d.rs"
[[bin]] name = "pastbook2022-e" path = "src/bin/e.rs"
[[bin]] name = "pastbook2022-f" path = "src/bin/f.rs"
[[bin]] name = "pastbook2022-g" path = "src/bin/g.rs"
[[bin]] name = "pastbook2022-h" path = "src/bin/h.rs"
[dependencies] num = "=0.2.1" num-bigint = "=0.2.6" num-complex = "=0.2.4" num-integer = "=0.1.42" num-iter = "=0.1.40" num-rational = "=0.2.4" num-traits = "=0.2.11" num-derive = "=0.3.0" ndarray = "=0.13.0" nalgebra = "=0.20.0" alga = "=0.9.3" libm = "=0.2.1" rand = { version = "=0.7.3", features = ["small_rng"] } getrandom = "=0.1.14" rand_chacha = "=0.2.2" rand_core = "=0.5.1" rand_hc = "=0.2.0" rand_pcg = "=0.2.1" rand_distr = "=0.2.2" petgraph = "=0.5.0" indexmap = "=1.3.2" regex = "=1.3.6" lazy_static = "=1.4.0" ordered-float = "=1.0.2" ascii = "=1.0.0" permutohedron = "=0.2.4" superslice = "=1.0.0" itertools = "=0.9.0" itertools-num = "=0.1.3" maplit = "=1.0.2" either = "=1.5.3" im-rc = "=14.3.0" fixedbitset = "=0.2.0" bitset-fixed = "=0.1.0" proconio = { version = "=0.3.6", features = ["derive"] } text_io = "=0.1.8" whiteread = "=0.5.0" rustc-hash = "=1.1.0" smallvec = "=1.2.0" ac-library-rs = { git = "https://github.com/rust-lang-ja/ac-library-rs" }
[dev-dependencies]