API Response (JSON)
{
"problem": {
"name": "【MX-X1-T4】「KDOI-05」简单的字符串问题",
"description": {
"content": "你有一个字符串 $S$。$q$ 个询问,每次给出 $(i,k)$,求有多少个非空字符串 $A$,使得存在可空字符串 $B_1,B_2,\\dots,B_{k-1}$ 满足: $$S[1,i]=AB_1AB_2A\\dots AB_{k-1}A$$ 其中 $S[1,i]$ 表示 $S$ 的长度为 $i$ 的前缀。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10716"
},
"statements": [
{
"statement_type": "Markdown",
"content": "你有一个字符串 $S$。$q$ 个询问,每次给出 $(i,k)$,求有多少个非空字符串 $A$,使得存在可空字符串 $B_1,B_2,\\dots,B_{k-1}$ 满足:\n\n$$S[1,i]=AB_1AB_2A\\dots AB_{k-1}A$$\n\n其中 $S[1,i]$ 表示 $S$ 的长度为 $i$ 的前缀。\n\n## Input\n\n第一行一个正整数 $n$ 表示 $S$ 的长度。\n\n接下来一个长...",
"is_translate": false,
"language": "English"
}
]
}