API Response (JSON)
{
"problem": {
"name": "[NOI2022] 移除石子",
"description": {
"content": "你正在玩一个名为“移除石子”的小游戏。 有 $n$ 堆石子排成一行,第 $i$ 堆有 $a_i$ 枚,你的任务是通过如下的操作将所有石子移除: - 操作一:选择一堆石子,将其中的至少 $2$ 枚石子移除; - 操作二:选择一个连续的编号区间 $[l, r]$($1 \\le l \\le r \\le n$)并满足 $r - l \\ge 2$,将其中的每一堆石子都恰好移除 $1$ 枚。 你可以采用",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 1048576
},
"difficulty": {
"LuoguStyle": "P7"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8497"
},
"statements": [
{
"statement_type": "Markdown",
"content": "你正在玩一个名为“移除石子”的小游戏。\n\n有 $n$ 堆石子排成一行,第 $i$ 堆有 $a_i$ 枚,你的任务是通过如下的操作将所有石子移除:\n\n- 操作一:选择一堆石子,将其中的至少 $2$ 枚石子移除;\n- 操作二:选择一个连续的编号区间 $[l, r]$($1 \\le l \\le r \\le n$)并满足 $r - l \\ge 2$,将其中的每一堆石子都恰好移除 $1$ 枚。\n\n你可以采用...",
"is_translate": false,
"language": "English"
}
]
}