API Response (JSON)
{
"problem": {
"name": "B. Weird Rounding",
"description": {
"content": "Polycarp is crazy about round numbers. He especially likes the numbers divisible by 10_k_. In the given number of _n_ Polycarp wants to remove the least number of digits to get a number that is divis",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF779B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Polycarp is crazy about round numbers. He especially likes the numbers divisible by 10_k_.\n\nIn the given number of _n_ Polycarp wants to remove the least number of digits to get a number that is divis...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Polycarp 对圆数非常着迷。他尤其喜欢能被 $10^k$ 整除的数。\n\n给定一个数 $n$,Polycarp 希望删除最少数量的数字,使得剩余的数能被 $10^k$ 整除。例如,当 $k = 3$ 时,在数字 _30020_ 中,只需删除一个数字(_2_),结果为 _3000_,它能被 $10^3 = 1000$ 整除。\n\n请编写一个程序,输出从给定整数 $n$ 中删除的最少数字个数,使得结...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}_{\\geq 0} $ be the given integer (in decimal representation). \nLet $ k \\in \\{1, 2, \\dots, 9\\} $ be given. \nLet $ d $ be the number of digits in the decimal re...",
"is_translate": false,
"language": "Formal"
}
]
}