API Response (JSON)
{
"problem": {
"name": "[GESP样题 六级] 亲朋数",
"description": {
"content": " 给定一串长度为 $L$、由数字 $0\\sim 9$ 组成的数字串 $S$。容易知道,它的连续子串共有 $\\frac{L(L + 1)}2$ 个。如果某个子串对应的数(允许有前导零)是 $p$ 的倍数,则称该子串为数字串 $S$ 对于 $p$ 的亲朋数。 例如,数字串 $S$ 为“ $12342$ ”、$p$ 为 $2$,则在 $15$ 个连续子串中,亲朋数有“ $12$ ”、“ $1234$ ",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P3"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10262"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定一串长度为 $L$、由数字 $0\\sim 9$ 组成的数字串 $S$。容易知道,它的连续子串共有 $\\frac{L(L + 1)}2$ 个。如果某个子串对应的数(允许有前导零)是 $p$ 的倍数,则称该子串为数字串 $S$ 对于 $p$ 的亲朋数。\n\n例如,数字串 $S$ 为“ $12342$ ”、$p$ 为 $2$,则在 $15$ 个连续子串中,亲朋数有“ $12$ ”、“ $1234$ ”...",
"is_translate": false,
"language": "English"
}
]
}