mirror of
https://gitlab.com/mfocko/Codeforces.git
synced 2024-12-22 07:01:21 +01:00
chore(rs): add aliases
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
c376b11d32
commit
b48cdc97f9
1 changed files with 11 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#![allow(unused_imports)]
|
||||
|
||||
// region ‹use›
|
||||
use self::aliases::*;
|
||||
use self::input::*;
|
||||
use self::math::*;
|
||||
use self::output::*;
|
||||
|
@ -297,3 +298,13 @@ mod input {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
mod aliases {
|
||||
use std::collections::{BTreeMap, BTreeSet, VecDeque};
|
||||
|
||||
pub type V<T> = Vec<T>;
|
||||
pub type M<K, V> = BTreeMap<K, V>;
|
||||
pub type S<T> = BTreeSet<T>;
|
||||
pub type Q<T> = VecDeque<T>;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue