API Response (JSON)
{
"problem": {
"name": "A. Chores",
"description": {
"content": "Luba has to do _n_ chores today. _i_\\-th chore takes _a__i_ units of time to complete. It is guaranteed that for every the condition _a__i_ ≥ _a__i_ - 1 is met, so the sequence is sorted. Also Luba c",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF873A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Luba has to do _n_ chores today. _i_\\-th chore takes _a__i_ units of time to complete. It is guaranteed that for every the condition _a__i_ ≥ _a__i_ - 1 is met, so the sequence is sorted.\n\nAlso Luba c...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Luba 今天需要完成 #cf_span[n] 项家务。第 #cf_span[i] 项家务需要 #cf_span[ai] 单位时间完成。保证对于每个 $i$,条件 $a_i \\geq a_{i-1}$ 成立,因此序列是有序的。\n\n此外,Luba 可以非常努力地完成某些家务。她可以选择至多 #cf_span[k] 项家务,将每项的完成时间从 #cf_span[ai] 改为 #cf_span[x]($...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, k, x \\in \\mathbb{Z}^+ $ be given integers with $ 1 \\leq k \\leq n \\leq 100 $, $ 1 \\leq x \\leq 99 $. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a non-decreasing sequence of integ...",
"is_translate": false,
"language": "Formal"
}
]
}