API Response (JSON)
{
"problem": {
"name": "[JOI Open 2016] 摩天大楼 / Skyscraper",
"description": {
"content": "将互不相同的 $N$ 个整数 $A_1, A_2, \\cdots, A_N$ 按照一定顺序排列。 假设排列为 $f_1, f_2, \\cdots, f_N$,要求:$| f_1 - f_2| + | f_2 - f_3| + \\cdots + | f_{N-1} - f_N| \\leq L$。 求满足题意的排列的方案数对 $10^9+7$ 取模后的结果。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9197"
},
"statements": [
{
"statement_type": "Markdown",
"content": "将互不相同的 $N$ 个整数 $A_1, A_2, \\cdots, A_N$ 按照一定顺序排列。\n\n假设排列为 $f_1, f_2, \\cdots, f_N$,要求:$| f_1 - f_2| + | f_2 - f_3| + \\cdots + | f_{N-1} - f_N| \\leq L$。\n\n求满足题意的排列的方案数对 $10^9+7$ 取模后的结果。\n\n## Input\n\n输入共两行。\n\n...",
"is_translate": false,
"language": "English"
}
]
}