API Response (JSON)
{
"problem": {
"name": "variance",
"description": {
"content": "给定序列 $a_1,a_2,\\cdots,a_n$,定义 $f(l,r)=(a_l\\oplus a_{l+1}\\oplus \\cdots \\oplus a_r)+(a_l\\vee a_{l+1}\\vee \\cdots \\vee a_r)$,其中 $\\oplus$ 表示 **按位异或** 运算,$\\vee$ 表示 **按位或** 运算。 你需要求出所有满足 $1\\le l \\le r \\le n$",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9162"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定序列 $a_1,a_2,\\cdots,a_n$,定义 $f(l,r)=(a_l\\oplus a_{l+1}\\oplus \\cdots \\oplus a_r)+(a_l\\vee a_{l+1}\\vee \\cdots \\vee a_r)$,其中 $\\oplus$ 表示 **按位异或** 运算,$\\vee$ 表示 **按位或** 运算。\n\n你需要求出所有满足 $1\\le l \\le r \\le n$...",
"is_translate": false,
"language": "English"
}
]
}