Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c49c22

Browse files
authored
Merge pull request #15 from statiolake/port-all-enabled
Port `ja-all-enabled` to the main branch
2 parents 709941e + 962e9be commit 0c49c22

File tree

3 files changed

+30
-38
lines changed

3 files changed

+30
-38
lines changed

Cargo.toml

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,78 +10,70 @@ edition = "2018"
1010
name = "main"
1111
path = "src/main.rs"
1212

13-
[dependencies]
1413
# AtCoder 2019年言語アップデート以降に使用できるクレート
15-
14+
[dependencies.proconio]
1615
# 競技プログラミングの入出力サポート
17-
proconio = "=0.3.0"
18-
# proconio-derive = "=0.1.5"
16+
version = "=0.3.4"
17+
#features = ["derive"]
1918

19+
[dependencies]
2020
# f64のOrd/Eq実装
21-
# ordered-float = "=1.0.2"
21+
#ordered-float = "=1.0.2"
2222

2323
# 剰余関連。普通の整数型などと同じ感覚で扱うだけで自動的にmodを取ってくれる
2424
# 答えの整数をMで割った余りが要求される設問で便利
25-
# modtype = "=0.6.0"
25+
#modtype = "=0.7.0"
2626

2727
# 英数字などのASCII文字専用の文字列。文字にインデックスでアクセスしたり
2828
# substringを簡単に作ったりできる
29-
# ascii = "=0.9.1"
29+
#ascii = "=1.0.0"
3030

3131
# BitSet。C++のbitsetに相当
32-
# bitset-fixed = "=0.1.0"
32+
#bitset-fixed = "=0.1.0"
3333

3434
# Permutation生成。C++のnext_permutationに相当する機能を提供
35-
# permutohedron = "=0.2.4"
35+
#permutohedron = "=0.2.4"
3636

3737
# スライスの強化。C++のlower_bound, upper_boundに相当する機能を提供
38-
# superslice = "=1.0.0"
38+
#superslice = "=1.0.0"
3939

4040
# イテレータの強化
41-
# itertools = "=0.8.0"
41+
#itertools = "=0.8.0"
4242

4343
# 高速なハッシュ関数
44-
# rustc-hash = "=1.0.1"
45-
46-
# 高速なHashMap
47-
# Rust 1.36.0からは標準ライブラリのHashMapがこれに置き換わる。(AtCoder 2019年言語
48-
# アップデートではそれより古い1.35.0を採用) ハッシュ関数として従来のSipHashが用いられる
49-
# ことに注意。(SipHashは暗号強度を持つため計算量が多く低速)
50-
# hashbrown = "=0.4.0"
44+
#rustc-hash = "=1.0.1"
5145

5246
# 固定配列上のベクタ。ヒープ領域でなくスタック領域にアロケートされるので高速かもしれない
53-
# smallvec = "=0.6.10"
54-
# arrayvec = "=0.4.10"
47+
#smallvec = "=0.6.10"
5548

5649
# 標準ライブラリのVecやHashMapに対応する永続データ構造
5750
# 永続データ構造は関数型言語によく見られるデータ構造で、要素を更新しても、そのデータ構造の
5851
# 以前のバージョンにアクセスできる。(更新の度に差分が記録されていくイメージ)
59-
# im = "=13.0.0" # スレッドセーフ
60-
# im-rc = "=13.0.0" # スレッドセーフでないが高速
52+
#im-rc = "=13.0.0"
6153

6254
# 多バイト長整数、分数、複素数など
63-
# num = "=0.2.0"
55+
#num = "=0.2.0"
6456

6557
# RNG 疑似乱数生成器 (randファミリー)
66-
# rand = "=0.6.5"
67-
# rand_chacha = "=0.1.1"
68-
# rand_pcg = "=0.1.2"
69-
70-
# RNG 疑似乱数生成器 (SFMT)
71-
# SIMD-oriented Fast Mersenne Twister (SFMT)のpure Rust実装
72-
# 高速で高品質な疑似乱数を生成。モンテカルロ・シミュレーションに適している
73-
# sfmt = "=0.5.0"
58+
#rand = { version = "=0.7.0", features = ["small_rng"] }
59+
#rand_chacha = "=0.2.1"
60+
#rand_pcg = "=0.2.0"
7461

7562
# 正規表現
76-
# regex = "=1.1.7"
63+
#regex = "=1.3.0"
7764

7865
# staticアイテムの遅延初期化
79-
# lazy_static = "=1.3.0"
80-
# once_cell = "=0.2.1"
66+
#lazy_static = "=1.4.0"
67+
68+
# 多次元配列
69+
#ndarray = "=0.12.1"
70+
71+
# 線形代数
72+
#nalgebra = "=0.18.1"
8173

8274
# 代替ヒープアロケータ。条件によってはシステムアロケータより速いことも
83-
# jemallocator = "=0.3.2"
84-
# jemalloc-ctl = "=0.3.3"
75+
#jemallocator = "=0.3.2"
76+
#jemalloc-ctl = "=0.3.3"
8577

8678
# ---------------------------------------------------------------------
8779

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## `ja`テンプレートの内容
1717

1818
- AtCoder 2019年言語アップデート後の環境向け
19-
- Rust 1.35.0
19+
- Rust 1.36.0
2020
- `rustup`でインストールされていることを前提にしている
2121

2222
**TODO** もう少し詳しく書く

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.35.0
1+
1.36.0

0 commit comments

Comments
 (0)