chore(rs): fix warnings

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2023-07-23 21:32:45 +02:00
parent bbe76f33d6
commit 1913a247b4
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -1,3 +1,5 @@
#![allow(unused_imports)]
use self::math::*;
use self::output::*;
use self::input::*;
@ -24,14 +26,15 @@ fn main() {
if SINGLE_TEST {
solve(&mut s)
} else {
let N = s.next::<i32>();
for _ in 0..N {
let n = s.next::<usize>();
for _ in 0..n {
solve(&mut s)
}
}
}
// endregion runner
#[allow(dead_code)]
mod math {
const MOD: i64 = 1_000_000_007;
@ -61,6 +64,7 @@ mod math {
}
}
#[allow(dead_code)]
mod output {
pub fn yes() {
println!("YES");
@ -75,6 +79,7 @@ mod output {
}
}
#[allow(dead_code)]
mod input {
use std::collections::VecDeque;
use std::io;