{"problem":{"name":"Slimes","description":{"content":"There are $A$ slimes. Each time Snuke shouts, the slimes multiply by $K$ times. In order to have $B$ or more slimes, at least how many times does Snuke need to shout?","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc248_b"},"statements":[{"statement_type":"Markdown","content":"There are $A$ slimes.\nEach time Snuke shouts, the slimes multiply by $K$ times.\nIn order to have $B$ or more slimes, at least how many times does Snuke need to shout?\n\n## Constraints\n\n*   $1 \\leq A \\leq B \\leq 10^9$\n*   $2 \\leq K \\leq 10^9$\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$A$ $B$ $K$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc248_b","tags":[],"sample_group":[["1 4 2","2\n\nWe start with one slime. After Snuke's first shout, we have two slimes; after his second shout, we have four slimes. Thus, he needs to shout at least twice to have four or more slimes."],["7 7 10","0\n\nWe have seven slimes already at the start."],["31 415926 5","6"]],"created_at":"2026-03-03 11:01:13"}}