mirror of
https://gitlab.com/mfocko/Codeforces.git
synced 2024-11-09 13:49:06 +01:00
chore(rs): fix warnings
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
bbe76f33d6
commit
1913a247b4
1 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use self::math::*;
|
use self::math::*;
|
||||||
use self::output::*;
|
use self::output::*;
|
||||||
use self::input::*;
|
use self::input::*;
|
||||||
|
@ -24,14 +26,15 @@ fn main() {
|
||||||
if SINGLE_TEST {
|
if SINGLE_TEST {
|
||||||
solve(&mut s)
|
solve(&mut s)
|
||||||
} else {
|
} else {
|
||||||
let N = s.next::<i32>();
|
let n = s.next::<usize>();
|
||||||
for _ in 0..N {
|
for _ in 0..n {
|
||||||
solve(&mut s)
|
solve(&mut s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// endregion runner
|
// endregion runner
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
mod math {
|
mod math {
|
||||||
const MOD: i64 = 1_000_000_007;
|
const MOD: i64 = 1_000_000_007;
|
||||||
|
|
||||||
|
@ -61,6 +64,7 @@ mod math {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
mod output {
|
mod output {
|
||||||
pub fn yes() {
|
pub fn yes() {
|
||||||
println!("YES");
|
println!("YES");
|
||||||
|
@ -75,6 +79,7 @@ mod output {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
mod input {
|
mod input {
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
Loading…
Reference in a new issue