API Response (JSON)
{
"problem": {
"name": "B. Polycarp and Letters",
"description": {
"content": "Polycarp loves lowercase letters and dislikes uppercase ones. Once he got a string _s_ consisting only of lowercase and uppercase Latin letters. Let _A_ be a set of positions in the string. Let's cal",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF864B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Polycarp loves lowercase letters and dislikes uppercase ones. Once he got a string _s_ consisting only of lowercase and uppercase Latin letters.\n\nLet _A_ be a set of positions in the string. Let's cal...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Polycarp 喜欢小写字母,不喜欢大写字母。有一天他得到了一个字符串 #cf_span[s],该字符串仅由小写和大写拉丁字母组成。\n\n设 #cf_span[A] 为字符串中的位置集合。如果满足以下条件,则称其为 _pretty_:\n\n请编写一个程序,确定 _pretty_ 位置集合的最大元素个数。\n\n第一行包含一个整数 #cf_span[n] (#cf_span[1 ≤ n ≤ 200]) —...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the length of the string $ s \\in \\Sigma^n $, where $ \\Sigma = \\{ \\text{a}, \\dots, \\text{z}, \\text{A}, \\dots, \\text{Z} \\} $. \nLet $ P \\subseteq \\{1, 2, \\d...",
"is_translate": false,
"language": "Formal"
}
]
}