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