API Response (JSON)
{
"problem": {
"name": "[RC-07] Abnormal Permutation Tuples",
"description": {
"content": "给出三个正整数 $n,m$ 和 $mod$。 有多少个 $1\\sim n$ 的排列构成的有序 $m$ 元组,$(p_1,p_2,\\dots,p_m)$,满足: - 字典序:$p_1\\lt p_2\\lt \\dots\\lt p_m$ - 逆序对数:$p_1\\gt p_2\\gt \\dots\\gt p_m$ 设 $f(n,m)$ 为答案模 $mod$ 的值。对于所有 $1\\le i\\le n,1\\l",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 5000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9004"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给出三个正整数 $n,m$ 和 $mod$。\n\n有多少个 $1\\sim n$ 的排列构成的有序 $m$ 元组,$(p_1,p_2,\\dots,p_m)$,满足:\n\n- 字典序:$p_1\\lt p_2\\lt \\dots\\lt p_m$\n- 逆序对数:$p_1\\gt p_2\\gt \\dots\\gt p_m$\n\n设 $f(n,m)$ 为答案模 $mod$ 的值。对于所有 $1\\le i\\le n,1\\l...",
"is_translate": false,
"language": "English"
}
]
}