API Response (JSON)
{
"problem": {
"name": "「MXOI Round 2」排名",
"description": {
"content": "小 C 有一个长度为 $n$ 的数组 $a$。 小 C 定义,$f(i)$ 为 $a_i$ 的前排名,其中 $f(i)$ 等于数组 $a$ 中大于 $a_i$ 的元素个数加 $1$。 小 C 还定义,$g(i)$ 为 $a_i$ 的后排名,其中 $g(i)$ 等于数组 $a$ 中大于等于 $a_i$ 的元素个数。 每次操作,小 C 需要选择一个不大于 $n$ 的正整数 $t$,并将 $a_t",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P3"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9587"
},
"statements": [
{
"statement_type": "Markdown",
"content": "小 C 有一个长度为 $n$ 的数组 $a$。\n\n小 C 定义,$f(i)$ 为 $a_i$ 的前排名,其中 $f(i)$ 等于数组 $a$ 中大于 $a_i$ 的元素个数加 $1$。\n\n小 C 还定义,$g(i)$ 为 $a_i$ 的后排名,其中 $g(i)$ 等于数组 $a$ 中大于等于 $a_i$ 的元素个数。\n\n每次操作,小 C 需要选择一个不大于 $n$ 的正整数 $t$,并将 $a_t...",
"is_translate": false,
"language": "English"
}
]
}