API Response (JSON)
{
"problem": {
"name": "E. Numbers on the blackboard",
"description": {
"content": "A sequence of _n_ integers is written on a blackboard. Soon Sasha will come to the blackboard and start the following actions: let _x_ and _y_ be two adjacent numbers (_x_ before _y_), then he can rem",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF878E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "A sequence of _n_ integers is written on a blackboard. Soon Sasha will come to the blackboard and start the following actions: let _x_ and _y_ be two adjacent numbers (_x_ before _y_), then he can rem...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "一块黑板上写有一个包含 #cf_span[n] 个整数的序列。不久后,Sasha 将来到黑板前执行以下操作:设 #cf_span[x] 和 #cf_span[y] 是两个相邻的数(#cf_span[x] 在 #cf_span[y] 之前),他可以将它们移除,并用 #cf_span[x + 2y] 替代它们。他将重复执行这些操作,直到只剩下一个数。Sasha 喜欢大数,因此他会得到可能的最大值。\n\n...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions**\n\nLet $n, q \\in \\mathbb{Z}^+$ such that $1 \\leq n, q \\leq 10^5$.\nLet $A = (a_1, a_2, \\dots, a_n)$ be a sequence of integers where $-10^9 \\leq a_i \\leq 10^9$.\nLet $M = 10^9 + 7$.\n\n**Obje...",
"is_translate": false,
"language": "Formal"
}
]
}