API Response (JSON)
{
"problem": {
"name": "E. Lust",
"description": {
"content": "_A false witness that speaketh lies!_ You are given a sequence containing _n_ integers. There is a variable _res_ that is equal to 0 initially. The following process repeats _k_ times. Choose an ind",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF891E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "_A false witness that speaketh lies!_\n\nYou are given a sequence containing _n_ integers. There is a variable _res_ that is equal to 0 initially. The following process repeats _k_ times.\n\nChoose an ind...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "_A false witness that speaketh lies!_\n\n给定一个包含 #cf_span[n] 个整数的序列。初始时有一个变量 #cf_span[res] 等于 #cf_span[0]。该过程重复 #cf_span[k] 次。\n\n在 #cf_span[1] 到 #cf_span[n] 中均匀随机选择一个索引,记为 #cf_span[x]。将所有满足 #cf_span[1 ≤ i...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, k \\in \\mathbb{Z}^+ $ with $ 1 \\leq n \\leq 5000 $, $ 1 \\leq k \\leq 10^9 $. \nLet $ \\mathbf{a} = (a_1, a_2, \\dots, a_n) \\in \\mathbb{Z}_{\\geq 0}^n $ be the initial sequence. \n...",
"is_translate": false,
"language": "Formal"
}
]
}