API Response (JSON)
{
"problem": {
"name": "[PA 2021] Wystawa",
"description": {
"content": "给定长度为 $n$ 的序列 $a, b$。 你需要构造一个序列 $c$,构造方法为: - 选择 $k$ 个 $i$,令 $c_i \\leftarrow a_i$。 - 对于其他 $i$,令 $c_i \\leftarrow b_i$。 求序列 $c$ 的最大子段和的最小值,并给出一种方案。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 6000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9051"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定长度为 $n$ 的序列 $a, b$。\n\n你需要构造一个序列 $c$,构造方法为:\n\n- 选择 $k$ 个 $i$,令 $c_i \\leftarrow a_i$。\n- 对于其他 $i$,令 $c_i \\leftarrow b_i$。\n\n求序列 $c$ 的最大子段和的最小值,并给出一种方案。\n\n## Input\n\n第一行,两个整数 $n, k$;\n\n第二行,$n$ 个整数 $a_1, a_2, ...",
"is_translate": false,
"language": "English"
}
]
}