use proconio::input; fn main(){ input!{ n: u128, m: u128, } let mut now: u128 = 1; for i in 0..100{ now *= n; if now > m{ println!("{}", i); return; } } }