{"problem":{"name":"Digits","description":{"content":"Given is an integer $N$. Find the number of digits that $N$ has in base $K$.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc156_b"},"statements":[{"statement_type":"Markdown","content":"Given is an integer $N$. Find the number of digits that $N$ has in base $K$.\n\n## Constraints\n\n*   All values in input are integers.\n*   $1 \\leq N \\leq 10^9$\n*   $2 \\leq K \\leq 10$\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$ $K$\n\n[samples]\n\n## Notes\n\nFor information on base-$K$ representation, see [Positional notation - Wikipedia](https://en.wikipedia.org/wiki/Positional_notation).","is_translate":false,"language":"English"}],"meta":{"iden":"abc156_b","tags":[],"sample_group":[["11 2","4\n\nIn binary, $11$ is represented as `1011`."],["1010101 10","7"],["314159265 3","18"]],"created_at":"2026-03-03 11:01:14"}}