API Response (JSON)
{
"problem": {
"name": "A. Buy a Shovel",
"description": {
"content": "Polycarp urgently needs a shovel! He comes to the shop and chooses an appropriate one. The shovel that Policarp chooses is sold for _k_ burles. Assume that there is an unlimited number of such shovels",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF732A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Polycarp urgently needs a shovel! He comes to the shop and chooses an appropriate one. The shovel that Policarp chooses is sold for _k_ burles. Assume that there is an unlimited number of such shovels...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Polycarp 急需一把铲子!他来到商店并选择了一把合适的铲子。Polycarp 选择的铲子售价为 $k$ 贝尔。假设商店中这种铲子的数量无限。\n\nPolycarp 口袋里有无限多枚“10 贝尔硬币”和恰好一枚面值为 $r$ 贝尔的硬币($1 ≤ r ≤ 9$)。\n\nPolycarp 最少需要买多少把铲子,才能无需找零地支付?显然,他可以购买 10 把铲子而无需找零(仅使用 10 贝尔硬币,不使...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ k \\in \\mathbb{Z} $ be the price of one shovel in burles. \nLet $ r \\in \\{1, 2, \\dots, 9\\} $ be the denomination of the unique non-10-burle coin Polycarp holds. \n\n**Constraints...",
"is_translate": false,
"language": "Formal"
}
]
}