#[macro_export]
macro_rules! scan {
($t:ty) => { $crate::scan::<$t>() };
($($t:ty),+) => { ($($crate::scan::<$t>(),)*) };
}
#[macro_export]
macro_rules! println {
($($arg:tt)*) => { {
use std::io::Write;
writeln!($crate::stdout(), $($arg)*).unwrap();
} }
}
#[macro_export]
macro_rules! print {
($($arg:tt)*) => { {
use std::io::Write;
write!($crate::stdout(), $($arg)*).unwrap();
} }
}
#[macro_export]
macro_rules! flush {
() => { $crate::flush() }
}