API Response (JSON)
{
"problem": {
"name": "[Ynoi Easy Round 2023] TEST_69",
"description": {
"content": "给定一个长为 $n$ 的序列 $a$,有 $m$ 次操作。 每次有两种操作: ``1 l r x``:对于区间 $[l,r]$ 内所有 $i$,将 $a_i$ 变成 $\\gcd(a_i,x)$。 ``2 l r``:查询区间 $[l,r]$ 的和,答案对 $2^{32}$ 取模后输出。",
"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": "LGP9989"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定一个长为 $n$ 的序列 $a$,有 $m$ 次操作。\n\n每次有两种操作:\n\n``1 l r x``:对于区间 $[l,r]$ 内所有 $i$,将 $a_i$ 变成 $\\gcd(a_i,x)$。\n\n``2 l r``:查询区间 $[l,r]$ 的和,答案对 $2^{32}$ 取模后输出。\n\n## Input\n\n第一行两个数 $n,m$。\n\n第二行 $n$ 个数表示 $a_i$。\n\n之后 $m$...",
"is_translate": false,
"language": "English"
}
]
}