From 92381125ccd87089eaa0cb07bfcce921f8d531fc Mon Sep 17 00:00:00 2001 From: statiolake Date: Sat, 1 Feb 2020 10:35:56 +0900 Subject: [PATCH 1/4] Update crates --- Cargo.toml | 111 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 67 insertions(+), 44 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6db0636..11c5024 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,69 +11,92 @@ name = "main" path = "src/main.rs" [dependencies] -# AtCoder 2019年言語アップデート以降に使用できるクレート +# AtCoder 2020年言語アップデート以降に使用できるクレート。 +# 次のページに各クレートについての細かい紹介があります。 +# https://github.com/rust-lang-ja/atcoder-rust-resources/wiki/2020-Update -# 競技プログラミングの入出力サポート +# 入出力改善 proconio = { version = "=0.3.4", features = ["derive"] } -# f64のOrd/Eq実装 -#ordered-float = "=1.0.2" +# 数値関連のサポート強化 +#num = "=0.2.1" +#num-bigint = "=0.2.5" +#num-complex = "=0.2.4" +#num-integer = "=0.1.42" +#num-iter = "=0.1.40" +#num-rational = "=0.2.3" +#num-traits = "=0.2.11" +#num-derive = "=0.3.0" -# 剰余関連。普通の整数型などと同じ感覚で扱うだけで自動的にmodを取ってくれる -# 答えの整数をMで割った余りが要求される設問で便利 -#modtype = "=0.7.0" +# 多次元配列 +#ndarray = "=0.13.0" -# 英数字などのASCII文字専用の文字列。文字にインデックスでアクセスしたり -# substringを簡単に作ったりできる -#ascii = "=1.0.0" +# 線形代数 +#nalgebra = "=0.19.0" +#alga = "=0.9.2" -# BitSet。C++のbitsetに相当 -#bitset-fixed = "=0.1.0" +# 数学関数 +#libm = "=0.2.1" -# Permutation生成。C++のnext_permutationに相当する機能を提供 -#permutohedron = "=0.2.4" +# 乱数 +#rand = { version = "=0.7.3", features = ["small_rng"] } +#getrandom = "=0.1.14" +#rand_chacha = "=0.2.1" +#rand_core = "=0.5.1" +#rand_hc = "=0.2.0" +#rand_pcg = "=0.2.1" +#rand_distr = "=0.2.2" -# スライスの強化。C++のlower_bound, upper_boundに相当する機能を提供 -#superslice = "=1.0.0" +# グラフ +#petgraph = "=0.5.0" -# イテレータの強化 -#itertools = "=0.8.0" +# 順序を保持する連想配列 +#indexmap = "=1.3.0" -# 高速なハッシュ関数 -#rustc-hash = "=1.0.1" +# 正規表現 +#regex = "=1.3.3" + +# 遅延初期化グローバル変数 +#lazy_static = "=1.4.0" + +# 浮動小数点数の Ord, Eq 実装 +#ordered-float = "=1.0.2" -# 固定配列上のベクタ。ヒープ領域でなくスタック領域にアロケートされるので高速かもしれない -#smallvec = "=0.6.10" +# ASCII 文字列の取り扱いの強化 +#ascii = "=1.0.0" -# 標準ライブラリのVecやHashMapに対応する永続データ構造 -# 永続データ構造は関数型言語によく見られるデータ構造で、要素を更新しても、そのデータ構造の -# 以前のバージョンにアクセスできる。(更新の度に差分が記録されていくイメージ) -#im-rc = "=13.0.0" +# 順列 +#permutohedron = "=0.2.4" -# 多バイト長整数、分数、複素数など -#num = "=0.2.0" +# スライスの強化 +#superslice = "=1.0.0" -# RNG 疑似乱数生成器 (randファミリー) -#rand = { version = "=0.7.2", features = ["small_rng"] } -#rand_chacha = "=0.2.1" -#rand_pcg = "=0.2.0" -#rand_distr = "=0.2.2" +# イテレータの強化 +#itertools = "=0.8.2" +#itertools-num = "=0.1.3" -# 正規表現 -#regex = "=1.3.1" +# コレクションを生成するマクロ +#maplit = "=1.0.2" -# staticアイテムの遅延初期化 -#lazy_static = "=1.4.0" +# インスタント enum +#either = "=1.5.3" -# 多次元配列 -#ndarray = "=0.13.0" +# 永続データ構造 +#im-rc = "=14.1.0" -# 線形代数 -#nalgebra = "=0.18.1" +# ビットで管理する集合 +#fixedbitset = "=0.2.0" +#bitset-fixed = "=0.1.0" + +# 入力ライブラリ +#text_io = "=0.1.7" +#whiteread = "=0.5.0" + +# 高速なハッシュ関数 +#rustc-hash = "=1.0.1" -# 代替ヒープアロケータ。条件によってはシステムアロケータより速いことも -#jemallocator = "=0.3.2" -#jemalloc-ctl = "=0.3.3" +# 少量向けに最適化された Vec +#smallvec = "=1.1.0" # --------------------------------------------------------------------- From 32301c2c13311c4fb12cd2b7f8969d8b98293cb7 Mon Sep 17 00:00:00 2001 From: statiolake Date: Thu, 6 Feb 2020 13:34:46 +0900 Subject: [PATCH 2/4] Update Rust version to 1.41.0 --- README.md | 2 +- rust-toolchain | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index df6692d..4410035 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ ## `ja`テンプレートの内容 - AtCoder 2019年言語アップデート後の環境向け -- Rust 1.36.0 +- Rust 1.41.0 - `rustup`でインストールされていることを前提にしている **TODO** もう少し詳しく書く diff --git a/rust-toolchain b/rust-toolchain index 39fc130..7d47e59 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.36.0 +1.41.0 From 01742fdd8143bb7da01303d1bf3bae11bbdd9233 Mon Sep 17 00:00:00 2001 From: statiolake Date: Thu, 2 Apr 2020 16:42:37 +0900 Subject: [PATCH 3/4] Update Rust version to 1.42.0 --- README.md | 2 +- rust-toolchain | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4410035..2249515 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ ## `ja`テンプレートの内容 - AtCoder 2019年言語アップデート後の環境向け -- Rust 1.41.0 +- Rust 1.42.0 - `rustup`でインストールされていることを前提にしている **TODO** もう少し詳しく書く diff --git a/rust-toolchain b/rust-toolchain index 7d47e59..a50908c 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.41.0 +1.42.0 From b309620f2b4d739f618722ca80a0d581bdbd6a72 Mon Sep 17 00:00:00 2001 From: statiolake Date: Thu, 2 Apr 2020 16:45:51 +0900 Subject: [PATCH 4/4] Update Cargo.toml --- Cargo.toml | 74 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 43 insertions(+), 31 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 11c5024..d757de4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,88 +15,100 @@ path = "src/main.rs" # 次のページに各クレートについての細かい紹介があります。 # https://github.com/rust-lang-ja/atcoder-rust-resources/wiki/2020-Update -# 入出力改善 -proconio = { version = "=0.3.4", features = ["derive"] } - -# 数値関連のサポート強化 +# 数値型の抽象化、多倍長整数、複素数、分数、及び整数型の拡張 #num = "=0.2.1" -#num-bigint = "=0.2.5" +#num-bigint = "=0.2.6" #num-complex = "=0.2.4" #num-integer = "=0.1.42" #num-iter = "=0.1.40" -#num-rational = "=0.2.3" +#num-rational = "=0.2.4" #num-traits = "=0.2.11" + +# `num-traits`の自動実装 #num-derive = "=0.3.0" -# 多次元配列 +# NumPyの`ndarray`のような多次元配列 #ndarray = "=0.13.0" # 線形代数 -#nalgebra = "=0.19.0" -#alga = "=0.9.2" +#nalgebra = "=0.20.0" -# 数学関数 +# (線形)代数の抽象化 +#alga = "=0.9.3" + +# libmのRust実装 #libm = "=0.2.1" # 乱数 #rand = { version = "=0.7.3", features = ["small_rng"] } #getrandom = "=0.1.14" -#rand_chacha = "=0.2.1" +#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.0" +# 挿入順を保持するhash table +#indexmap = "=1.3.2" # 正規表現 -#regex = "=1.3.3" +#regex = "=1.3.6" -# 遅延初期化グローバル変数 +# staticアイテムの遅延初期化 #lazy_static = "=1.4.0" -# 浮動小数点数の Ord, Eq 実装 +# `NotNan`, `OrderedFloat` #ordered-float = "=1.0.2" -# ASCII 文字列の取り扱いの強化 +# ASCII文字列 #ascii = "=1.0.0" -# 順列 +# permutation #permutohedron = "=0.2.4" -# スライスの強化 +# スライスの拡張 #superslice = "=1.0.0" -# イテレータの強化 -#itertools = "=0.8.2" +# イテレータの拡張 +#itertools = "=0.9.0" + +# イテレータの拡張(一次元累積和と浮動小数点数の等差数列) #itertools-num = "=0.1.3" -# コレクションを生成するマクロ +# `BTreeMap`, `BTreeSet`, `HashMap`, `HashSet`のリテラル用マクロ #maplit = "=1.0.2" -# インスタント enum +# 即席enum `Either` #either = "=1.5.3" -# 永続データ構造 -#im-rc = "=14.1.0" +# `BTreeMap`, `BTreeSet`, `HashMap`, `HashSet`, `Vec`の永続データ構造版 +#im-rc = "=14.3.0" -# ビットで管理する集合 +# 可変長bit set #fixedbitset = "=0.2.0" + +# 可変長bit set #bitset-fixed = "=0.1.0" -# 入力ライブラリ -#text_io = "=0.1.7" +# 競技プログラミングの入出力サポートその1 +proconio = { version = "=0.3.6", features = ["derive"] } + +# 競技プログラミングの入出力サポートその2 +#text_io = "=0.1.8" + +# 競技プログラミングの入出力サポートその3 #whiteread = "=0.5.0" # 高速なハッシュ関数 -#rustc-hash = "=1.0.1" +#rustc-hash = "=1.1.0" -# 少量向けに最適化された Vec -#smallvec = "=1.1.0" +# ある長さまでは要素を「直に」持つ可変長配列 +#smallvec = "=1.2.0" # --------------------------------------------------------------------- pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy