API Response (JSON)
{
"problem": {
"name": "E. Array Queries",
"description": {
"content": "_a_ is an array of _n_ positive integers, all of which are not greater than _n_. You have to process _q_ queries to this array. Each query is represented by two numbers _p_ and _k_. Several operation",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF797E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "_a_ is an array of _n_ positive integers, all of which are not greater than _n_.\n\nYou have to process _q_ queries to this array. Each query is represented by two numbers _p_ and _k_. Several operation...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "#cf_span[a] 是一个包含 #cf_span[n] 个正整数的数组,所有元素均不超过 #cf_span[n]。\n\n你需要对这个数组处理 #cf_span[q] 个查询。每个查询由两个数 #cf_span[p] 和 #cf_span[k] 表示。每个查询中会执行若干次操作;每次操作将 #cf_span[p] 更新为 #cf_span[p + ap + k]。这些操作会持续进行,直到 #cf_...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ be the length of array $ a = (a_1, a_2, \\dots, a_n) $, where $ 1 \\leq a_i \\leq n $ for all $ i \\in \\{1, \\dots, n\\} $. \nLet $ q \\in \\mathbb{Z}^+ $ be the n...",
"is_translate": false,
"language": "Formal"
}
]
}