API Response (JSON)
{
"problem": {
"name": "「ALFR Round 1」D 小山的元力",
"description": {
"content": "小山有 $n$ 个相同的元素,他想将这 $n$ 个元素分为 $m$ 堆,显然有很多种分法。对于每种分法,定义 $a_i$ 为第 $i$ 堆的元素数量,$b_i=i!\\times a_i$(其中 $i!$ 表示 $i$ 的阶乘),以及 $c=\\sum\\limits_{i=1}^mb_i$。而小山的元力为所有分法的 $c$ 值之和。小山想知道他的元力是多少,由于答案可能很大,所以最终答案应对 $p$ ",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P4"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10380"
},
"statements": [
{
"statement_type": "Markdown",
"content": "小山有 $n$ 个相同的元素,他想将这 $n$ 个元素分为 $m$ 堆,显然有很多种分法。对于每种分法,定义 $a_i$ 为第 $i$ 堆的元素数量,$b_i=i!\\times a_i$(其中 $i!$ 表示 $i$ 的阶乘),以及 $c=\\sum\\limits_{i=1}^mb_i$。而小山的元力为所有分法的 $c$ 值之和。小山想知道他的元力是多少,由于答案可能很大,所以最终答案应对 $p$ ...",
"is_translate": false,
"language": "English"
}
]
}