Skip to content

Commit eca1de6

Browse files
committed
Update the crates
1 parent efc6a0d commit eca1de6

10 files changed

+44
-55
lines changed

Cargo.lock

Lines changed: 30 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ path = "src/main.rs"
2121

2222
# 多バイト長整数、分数、複素数など
2323
num = "=0.2.1"
24-
num-bigint = "=0.2.5"
24+
num-bigint = "=0.2.6"
2525
num-complex = "=0.2.4"
2626
num-integer = "=0.1.42"
2727
num-iter = "=0.1.40"
@@ -54,7 +54,7 @@ rand_distr = "=0.2.2"
5454
petgraph = "=0.5.0"
5555

5656
# 挿入順を保持するhash table
57-
indexmap = "=1.3.0"
57+
indexmap = "=1.3.1"
5858

5959
# 正規表現
6060
regex = "=1.3.3"
@@ -88,15 +88,15 @@ either = "=1.5.3"
8888
# 標準ライブラリのVecやHashMapに対応する永続データ構造
8989
# 永続データ構造は関数型言語によく見られるデータ構造で、要素を更新しても、そのデータ構造の
9090
# 以前のバージョンにアクセスできる。(更新の度に差分が記録されていくイメージ)
91-
im-rc = "=14.1.0"
91+
im-rc = "=14.2.0"
9292

9393
# 可変長bit set。
9494
fixedbitset = "=0.2.0"
9595
bitset-fixed = "=0.1.0"
9696

9797
# 競技プログラミングの入出力サポート
98-
proconio = { version = "=0.3.4", features = ["derive"] }
99-
text_io = "=0.1.7"
98+
proconio = { version = "=0.3.5", features = ["derive"] }
99+
text_io = "=0.1.8"
100100
whiteread = "=0.5.0"
101101

102102
# 高速なハッシュ関数

examples/abc057-b-text-io.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// https://atcoder.jp/contests/abc057/tasks/abc057_b
22

3-
#![allow(clippy::many_single_char_names, clippy::try_err)]
4-
5-
use text_io::{read, try_read, try_scan};
3+
use text_io::read;
64

75
fn main() {
86
let n: usize = read!();

examples/abc073-d.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use std::ops::Sub;
1313

1414
fn main() {
1515
input! {
16-
_n: usize,
16+
_: usize,
1717
m: usize,
1818
r: usize,
1919
rs: [NodeIndex1<u32>; r],

examples/abc118-b-proconio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::ops::{BitAnd, BitOr};
88
fn main() {
99
input! {
1010
n: usize,
11-
_m: usize,
11+
_: usize,
1212
a: [[Usize1]; n],
1313
}
1414

examples/abc118-b-text-io.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
// https://atcoder.jp/contests/abc118/tasks/abc118_b
22

3-
use text_io::{read, try_read, try_scan};
3+
use text_io::read;
44

55
use std::ops::{BitAnd, BitOr};
66

7-
#[allow(clippy::try_err)]
87
fn main() {
98
let (n, _): (usize, usize) = (read!(), read!());
109
let a = (0..n)

examples/abc121-b-text-io.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// https://atcoder.jp/contests/abc121/tasks/abc121_b
22

3-
use text_io::{read, try_read, try_scan};
3+
use text_io::read;
44

5-
#[allow(clippy::many_single_char_names, clippy::try_err)]
5+
#[allow(clippy::many_single_char_names)]
66
fn main() {
77
let (n, m, c): (usize, usize, i32) = (read!(), read!(), read!());
88
let b = (0..m).map(|_| read!()).collect::<Vec<i32>>();

examples/abc129-f.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn main() {
1616
l: u64,
1717
a: u64,
1818
b: u64,
19-
_m: Mod,
19+
(): Mod,
2020
}
2121

2222
let count = |d| -> _ {

examples/practice-a-text-io.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// https://atcoder.jp/contests/practice/tasks/practice_1
22

3-
use text_io::{read, try_read, try_scan};
3+
use text_io::read;
44

5-
#[allow(clippy::many_single_char_names, clippy::try_err)]
65
fn main() {
76
let (a, b, c, s): (u32, u32, u32, String) = (read!(), read!(), read!(), read!());
87

examples/practice-b-text-io.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// https://atcoder.jp/contests/practice/tasks/practice_2
22

33
use maplit::hashset;
4-
use text_io::{read, try_read, try_scan};
4+
use text_io::read;
55

66
use std::{io, str};
77

8-
#[allow(clippy::try_err)]
98
fn main() {
109
fn read_line() -> String {
1110
let mut input = "".to_owned();

0 commit comments

Comments
 (0)