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::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;