use num::Integer; fn main() { proconio::input! { a: u64, b: u64, } let s = proc(a, b); println!("{s}"); } fn proc(a: u64, b: u64) -> u64 { let x = b.div_rem(&a); x.0 + if x.1 != 0 { 1 } else { 0 } } #[cfg(test)] mod test { use super::*; #[test] fn test() { assert_eq!(proc(2, 5), 3); } }