API Response (JSON)
{
"problem": {
"name": "F. Bracket Substring",
"description": {
"content": "You are given a bracket sequence $s$ (not necessarily a regular one). A bracket sequence is a string containing only characters '_(_' and '_)_'. A regular bracket sequence is a bracket sequence that ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF1015F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a bracket sequence $s$ (not necessarily a regular one). A bracket sequence is a string containing only characters '_(_' and '_)_'.\n\nA regular bracket sequence is a bracket sequence that ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定一个括号序列 $s$(不一定是合法的)。括号序列是仅包含字符 '_(_' 和 '_)_' 的字符串。\n\n一个合法括号序列是指可以通过在原序列的字符之间插入字符 '_1_' 和 '_+_' 而转换为正确算术表达式的括号序列。例如,括号序列 \"_()()_\" 和 \"_(())_\" 是合法的(对应表达式分别为 \"_(1)+(1)_\" 和 \"_((1+1)+1)_\"),而 \"_)(_\"、\"_(_\"...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ with $ 1 \\leq n \\leq 100 $. \nLet $ s \\in \\{ (, ) \\}^* $ be a given bracket string with $ 1 \\leq |s| \\leq 200 $. \nLet $ \\mathcal{R}_{2n} $ denote the set ...",
"is_translate": false,
"language": "Formal"
}
]
}