API Response (JSON)
{
"problem": {
"name": "F. Fafa and Array",
"description": {
"content": "Fafa has an array _A_ of _n_ positive integers, the function _f_(_A_) is defined as . He wants to do _q_ queries of two types: * 1 _l_ _r_ _x_ — find the maximum possible value of _f_(_A_), if _x_ ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF935F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Fafa has an array _A_ of _n_ positive integers, the function _f_(_A_) is defined as . He wants to do _q_ queries of two types:\n\n* 1 _l_ _r_ _x_ — find the maximum possible value of _f_(_A_), if _x_ ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Fafa 有一个包含 #cf_span[n] 个正整数的数组 #cf_span[A],函数 #cf_span[f(A)] 定义为 。他希望进行 #cf_span[q] 次两种类型的查询:\n\n注意,类型为 #cf_span[1] 的查询不会影响数组元素。\n\n第一行包含一个整数 #cf_span[n] #cf_span[(3 ≤ n ≤ 105)] —— 数组的长度。\n\n第二行包含 #cf_span[...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the length of the array. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of positive integers. \nLet $ q \\in \\mathbb{Z} $ be the number of queries. \nE...",
"is_translate": false,
"language": "Formal"
}
]
}