Skip to content

Commit 696cfae

Browse files
committed
Update modtype to 0.6.0. Add once_cell 0.2.1
Also fix a compile error in main.rs caused by importing proconio-derive.
1 parent eb17b79 commit 696cfae

File tree

3 files changed

+93
-12
lines changed

3 files changed

+93
-12
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ proconio = "=0.2.1"
2121

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

2626
# 英数字などのASCII文字専用の文字列。文字にインデックスでアクセスしたり
2727
# substringを簡単に作ったりできる
@@ -76,6 +76,7 @@ proconio = "=0.2.1"
7676

7777
# staticアイテムの遅延初期化
7878
# lazy_static = "=1.3.0"
79+
# once_cell = "=0.2.1"
7980

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

src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
// -*- coding:utf-8-unix -*-
22

33
use proconio::input;
4-
use proconio_derive::fastout;
54

65
// ABC086C - Traveling
76
// https://atcoder.jp/contests/abs/fasks/arc089_a
87

9-
#[fastout]
8+
#[proconio::fastout]
109
fn main() {
1110
input! {
1211
n: usize,

0 commit comments

Comments
 (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