Skip to main content

atcoder/lib/
types.rs

1//! 競技プログラミングでよく使う型の短い別名です。
2
3/// `bool` の短い別名です。
4pub type B = bool;
5/// `char` の短い別名です。
6pub type C = char;
7/// `f32` の短い別名です。
8pub type F = f32;
9/// `isize` の短い別名です。
10pub type I = isize;
11/// [`String`] の短い別名です。
12pub type S = String;
13/// `usize` の短い別名です。
14pub type U = usize;
15/// [`Vec<T>`] の短い別名です。
16pub type V<T> = Vec<T>;