API Response (JSON)
{
"problem": {
"name": "F. Prefix Sums",
"description": {
"content": "Consider the function _p_(_x_), where _x_ is an array of _m_ integers, which returns an array _y_ consisting of _m_ + 1 integers such that _y__i_ is equal to the sum of first _i_ elements of array _x_",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF837F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Consider the function _p_(_x_), where _x_ is an array of _m_ integers, which returns an array _y_ consisting of _m_ + 1 integers such that _y__i_ is equal to the sum of first _i_ elements of array _x_...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "考虑函数 #cf_span[p(x)],其中 #cf_span[x] 是一个包含 #cf_span[m] 个整数的数组,该函数返回一个包含 #cf_span[m + 1] 个整数的数组 #cf_span[y],使得 #cf_span[yi] 等于数组 #cf_span[x] 的前 #cf_span[i] 个元素之和(#cf_span[0 ≤ i ≤ m])。\n\n你有一个无限序列的数组 #cf_sp...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, k \\in \\mathbb{Z} $ with $ 2 \\leq n \\leq 200000 $, $ 1 \\leq k \\leq 10^{18} $. \nLet $ A_0 = (a_0, a_1, \\dots, a_{n-1}) \\in \\mathbb{Z}^n $ be the initial array, with $ 0 \\leq ...",
"is_translate": false,
"language": "Formal"
}
]
}