Skip to content

Port ja-all-enabled to the main branch #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 28 additions & 36 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,78 +10,70 @@ edition = "2018"
name = "main"
path = "src/main.rs"

[dependencies]
# AtCoder 2019年言語アップデート以降に使用できるクレート

[dependencies.proconio]
# 競技プログラミングの入出力サポート
proconio = "=0.3.0"
# proconio-derive = "=0.1.5"
version = "=0.3.4"
#features = ["derive"]

[dependencies]
# f64のOrd/Eq実装
# ordered-float = "=1.0.2"
#ordered-float = "=1.0.2"

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

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

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

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

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

# イテレータの強化
# itertools = "=0.8.0"
#itertools = "=0.8.0"

# 高速なハッシュ関数
# rustc-hash = "=1.0.1"

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

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

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

# 多バイト長整数、分数、複素数など
# num = "=0.2.0"
#num = "=0.2.0"

# RNG 疑似乱数生成器 (randファミリー)
# rand = "=0.6.5"
# rand_chacha = "=0.1.1"
# rand_pcg = "=0.1.2"

# RNG 疑似乱数生成器 (SFMT)
# SIMD-oriented Fast Mersenne Twister (SFMT)のpure Rust実装
# 高速で高品質な疑似乱数を生成。モンテカルロ・シミュレーションに適している
# sfmt = "=0.5.0"
#rand = { version = "=0.7.0", features = ["small_rng"] }
#rand_chacha = "=0.2.1"
#rand_pcg = "=0.2.0"

# 正規表現
# regex = "=1.1.7"
#regex = "=1.3.0"

# staticアイテムの遅延初期化
# lazy_static = "=1.3.0"
# once_cell = "=0.2.1"
#lazy_static = "=1.4.0"

# 多次元配列
#ndarray = "=0.12.1"

# 線形代数
#nalgebra = "=0.18.1"

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

# ---------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## `ja`テンプレートの内容

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

**TODO** もう少し詳しく書く
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.35.0
1.36.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