fn main() { proconio::input! { mut l: u64, } if l % 2 == 1 { print!("7"); l -= 3; } while l > 1 { print!("1"); l -= 2; } println!(); } fn proc(a: u64, b: u64) -> u64 { b.div_ceil(a) } #[cfg(test)] mod test { use super::*; #[test] fn test() { assert_eq!(proc(2, 5), 3); } }