API Response (JSON)
{
"problem": {
"name": "D. Draw Brackets!",
"description": {
"content": "A sequence of square brackets is regular if by inserting symbols \"_+_\" and \"_1_\" into it, you can get a regular mathematical expression from it. For example, sequences \"_\\[\\[\\]\\]\\[\\]_\", \"_\\[\\]_\" and \"",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF770D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "A sequence of square brackets is regular if by inserting symbols \"_+_\" and \"_1_\" into it, you can get a regular mathematical expression from it. For example, sequences \"_\\[\\[\\]\\]\\[\\]_\", \"_\\[\\]_\" and \"...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "[{\"iden\":\"statement\",\"content\":\"一个方括号序列是合法的,如果通过在其间插入符号 \\\"_+_\\\" 和 \\\"_1_\\\",可以得到一个合法的数学表达式。例如,序列 \\\"_[[]][]_\\\"、\\\"_[]_\\\" 和 \\\"_[[][[]]]_\\\" 是合法的,而 \\\"_][_\\\"、\\\"_[[]_\\\" 和 \\\"_[[]]][_\\\" 是不合法的。\\n\\n请使用最简化的伪图形,在尽可能...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ S $ be a regular bracket sequence of length $ n $, where $ n $ is even and $ n \\in [2, 100] $. \nLet $ S = s_1 s_2 \\dots s_n $, where each $ s_i \\in \\{ \\texttt{[}, \\texttt{]} \\...",
"is_translate": false,
"language": "Formal"
}
]
}