API Response (JSON)
{
"problem": {
"name": "L. Expression Queries",
"description": {
"content": "A _simplified arithmetic expression_ (SAE) is an arithmetic expression defined by the following grammar: * _<SAE> ::= <Number> | <SAE>+<SAE> | <SAE>*<SAE> | (<SAE>)_ * _<Number> ::= <Digit> | <Di",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 4000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF730L"
},
"statements": [
{
"statement_type": "Markdown",
"content": "A _simplified arithmetic expression_ (SAE) is an arithmetic expression defined by the following grammar:\n\n* _<SAE> ::= <Number> | <SAE>+<SAE> | <SAE>*<SAE> | (<SAE>)_\n* _<Number> ::= <Digit> | <Di...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "一个_简化算术表达式_(SAE)是由以下文法定义的算术表达式:\n\n换句话说,它是一个合法的算术表达式,允许包含括号、数字(可能带有前导零)、乘法和加法。例如,表达式 \"_(0+01)_\"、\"_0_\" 和 \"_1*(0)_\" 是简化算术表达式,但表达式 \"_2-1_\"、\"_+1_\" 和 \"_1+2)_\" 不是。\n\n给定一个表示 SAE 的字符串 #cf_span[s1s2...s|s|];#cf_s...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s \\in \\{ \\text{digits}, +, *, (, ) \\}^* $ be a string representing a valid Simplified Arithmetic Expression (SAE). \nLet $ \\mathcal{L} $ be the language of SAEs defined by the ...",
"is_translate": false,
"language": "Formal"
}
]
}