API Response (JSON)
{
"problem": {
"name": "[蓝桥杯 2023 国 A] 子串",
"description": {
"content": "给定一个仅含小写英文字母组成的字符串 $S$,问有多少个不同的字符串在 $S$ 中出现 $1\\sim |S|$ 次。当两个字符串的长度或任意位置的字符不同时,我们认为这两个字符串是不同的。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10420"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定一个仅含小写英文字母组成的字符串 $S$,问有多少个不同的字符串在 $S$ 中出现 $1\\sim |S|$ 次。当两个字符串的长度或任意位置的字符不同时,我们认为这两个字符串是不同的。\n\n## Input\n\n输入一行包含一个字符串 $S$,由小写英文字母组成。\n\n## Output\n\n输出 $|S|$ 行,每行包含一个整数,其中第 $i$ 行的整数表示在 $|S|$ 中正好出现 $i$ 次的字...",
"is_translate": false,
"language": "English"
}
]
}