API Response (JSON)
{
"problem": {
"name": "[语言月赛 202404] 非众数",
"description": {
"content": "给定一个长度为 $n$ 的字符串 $s$,保证 $s$ 仅包含小写字母,求 $s$ 的非空子串中非众数串的个数。 > **定义:非空子串** > > 用 $s_i$ 表示 $s$ 中的第 $i$ 个字符($1 \\leq i \\leq n$)。任取两个整数 $i, j$($1 \\leq i \\leq j \\leq n$),将 $s_i, s_{i + 1}, \\cdots, s_{j}$ 截取出",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P2"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB3967"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定一个长度为 $n$ 的字符串 $s$,保证 $s$ 仅包含小写字母,求 $s$ 的非空子串中非众数串的个数。\n\n> **定义:非空子串**\n>\n> 用 $s_i$ 表示 $s$ 中的第 $i$ 个字符($1 \\leq i \\leq n$)。任取两个整数 $i, j$($1 \\leq i \\leq j \\leq n$),将 $s_i, s_{i + 1}, \\cdots, s_{j}$ 截取出...",
"is_translate": false,
"language": "English"
}
]
}