use proconio::input; use proconio::marker::Chars; fn main(){ input!{ a:i32, b:i32, } let ans = a.rem_euclid(b); println!("{}",ans); }