API Response (JSON)
{
"problem": {
"name": "[中山市赛 2023] 同质",
"description": {
"content": "给定一个仅由小写字母组成的字符串 $s$,求 $s$ 中最长的子串的长度,满足子串中所有字母均相等。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P1"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB4333"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定一个仅由小写字母组成的字符串 $s$,求 $s$ 中最长的子串的长度,满足子串中所有字母均相等。\n\n## Input\n\n一行一个字符串 $s$。\n\n## Output\n\n一行一个整数,表示答案。\n\n[samples]\n\n## Note\n\n### 样例解释\n\n$\\tt aabaaaccdd$ 中满足所有字母相等的子串有 $\\tt a$,$\\tt aa$,$\\tt aaa$,$\\tt b$,$\\t...",
"is_translate": false,
"language": "English"
}
]
}