API Response (JSON)
{
"problem": {
"name": "[语言月赛 202401] 小跳蛙",
"description": {
"content": "有 $n - 1$ 只小跳蛙在池塘中,依次被编号为 $1, 2, \\cdots, n - 1$。池塘里有 $n$ 个位置,每一个位置上有一个数字 $a_i$。如果 $a_i = 0$,则表示这个位置是一个空位;否则表示这个位置上存在一个编号为 $a_i$ 的小跳蛙。 接下来的 $n-1$ 分钟,小跳蛙们将进行跳跃。第 $i$ 分钟,编号为 $i$ 的小跳蛙将跳到空位上。 请你输出 $n-1$ ",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P1"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB3917"
},
"statements": [
{
"statement_type": "Markdown",
"content": "有 $n - 1$ 只小跳蛙在池塘中,依次被编号为 $1, 2, \\cdots, n - 1$。池塘里有 $n$ 个位置,每一个位置上有一个数字 $a_i$。如果 $a_i = 0$,则表示这个位置是一个空位;否则表示这个位置上存在一个编号为 $a_i$ 的小跳蛙。\n\n接下来的 $n-1$ 分钟,小跳蛙们将进行跳跃。第 $i$ 分钟,编号为 $i$ 的小跳蛙将跳到空位上。\n\n请你输出 $n-1$ ...",
"is_translate": false,
"language": "English"
}
]
}