API Response (JSON)
{
"problem": {
"name": "F. Array Covering",
"description": {
"content": "Misha has an array of integers of length _n_. He wants to choose _k_ different continuous subarrays, so that each element of the array belongs to at least one of the chosen subarrays. Misha wants to ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF720F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Misha has an array of integers of length _n_. He wants to choose _k_ different continuous subarrays, so that each element of the array belongs to at least one of the chosen subarrays.\n\nMisha wants to ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Misha 有一个长度为 $n$ 的整数数组。他希望选择 $k$ 个不同的连续子数组,使得数组中的每个元素至少属于其中一个被选中的子数组。\n\nMisha 希望以这样的方式选择子数组:如果他计算每个子数组的元素和,然后将所有这些和相加,得到的值尽可能大。\n\n输入的第一行包含两个整数:$n$, $k$($1 ≤ n ≤ 100 000$, $1 ≤ k ≤ n·(n + 1) / 2$)— 分别表示数...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ a = [a_1, a_2, \\dots, a_n] $ be an array of integers.\n\nLet $ \\mathcal{S} $ be the set of all contiguous subarrays of $ a $, i.e., \n$$\n\\mathcal{S} = \\{ [a_i, a_{i+1}, \\dots, a_j] \\mid 1 \\leq i \\...",
"is_translate": false,
"language": "Formal"
}
]
}