API Response (JSON)
{
"problem": {
"name": "F. Forbidden Indices",
"description": {
"content": "You are given a string _s_ consisting of _n_ lowercase Latin letters. Some indices in this string are marked as _forbidden_. You want to find a string _a_ such that the value of |_a_|·_f_(_a_) is max",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF873F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a string _s_ consisting of _n_ lowercase Latin letters. Some indices in this string are marked as _forbidden_.\n\nYou want to find a string _a_ such that the value of |_a_|·_f_(_a_) is max...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给你一个由 #cf_span[n] 个小写拉丁字母组成的字符串 #cf_span[s]。该字符串中的某些下标被标记为 _禁止的_。\n\n你希望找到一个字符串 #cf_span[a],使得 #cf_span[|a|·f(a)] 的值尽可能大,其中 #cf_span[f(a)] 表示 #cf_span[a] 在 #cf_span[s] 中出现的次数,且这些出现必须以非禁止下标结尾。例如,若 #cf_sp...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ be the length of string $ s $. \nLet $ s \\in \\Sigma^n $, where $ \\Sigma = \\{a, b, \\dots, z\\} $, be the input string. \nLet $ t \\in \\{0,1\\}^n $ be the forbi...",
"is_translate": false,
"language": "Formal"
}
]
}