API Response (JSON)
{
"problem": {
"name": "[NICA #3] 星空(Easy Version)",
"description": {
"content": "小 R 有一个长度为 $n$ 的序列 $a$,保证序列中的每个数都是 $2$ 的整数次幂。 小 M 有一个数 $x$,她希望重新排列序列 $a$,使得不存在一个 $i\\in[1,n)$ 满足 $a_i+a_{i+1}>x$。重排的方式为:选择一个 $1\\sim n$ 的排列 $p$,然后令新序列 $a'$ 满足 $a'_i=a_{p_i}$。$a'$ 即为重排后的序列。 现在你想要知道有多少种",
"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": "LGB3901"
},
"statements": [
{
"statement_type": "Markdown",
"content": "小 R 有一个长度为 $n$ 的序列 $a$,保证序列中的每个数都是 $2$ 的整数次幂。\n\n小 M 有一个数 $x$,她希望重新排列序列 $a$,使得不存在一个 $i\\in[1,n)$ 满足 $a_i+a_{i+1}>x$。重排的方式为:选择一个 $1\\sim n$ 的排列 $p$,然后令新序列 $a'$ 满足 $a'_i=a_{p_i}$。$a'$ 即为重排后的序列。\n\n现在你想要知道有多少种...",
"is_translate": false,
"language": "English"
}
]
}