API Response (JSON)
{
"problem": {
"name": "[蓝桥杯 2019 省 B] 特别数的和",
"description": {
"content": "小明对数位中含有 $2$、$0$、$1$、$9$ 的数字很感兴趣(不包括前导 $0$),在 $1$ 到 $40$ 中这样的数包括 $1$、$2$、$9$、$10$ 至 $32$、$39$ 和 $40$,共 $28$ 个,他们的和是 $574$。 请问,在 $1$ 到 $n$ 中,所有这样的数的和是多少?",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": {
"LuoguStyle": "P1"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8680"
},
"statements": [
{
"statement_type": "Markdown",
"content": "小明对数位中含有 $2$、$0$、$1$、$9$ 的数字很感兴趣(不包括前导 $0$),在 $1$ 到 $40$ 中这样的数包括 $1$、$2$、$9$、$10$ 至 $32$、$39$ 和 $40$,共 $28$ 个,他们的和是 $574$。\n\n请问,在 $1$ 到 $n$ 中,所有这样的数的和是多少?\n\n## Input\n\n输入一行包含一个整数 $n$。\n\n## Output\n\n输出一行,包含...",
"is_translate": false,
"language": "English"
}
]
}