API Response (JSON)
{
"problem": {
"name": "「PEOI Rd1」异或(xor)",
"description": {
"content": "给定两个正整数 $n,m$,求: $$\\sum_{i=1}^{n}\\sum_{j=1}^{m}\\left(i \\oplus j\\right) $$ 其中,$\\oplus$ 表示按位异或运算(即 C++ 中的 `^` 符号)。答案对 $998244353$ 取模。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 131072
},
"difficulty": {
"LuoguStyle": "P3"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9223"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定两个正整数 $n,m$,求:\n\n$$\\sum_{i=1}^{n}\\sum_{j=1}^{m}\\left(i \\oplus j\\right) $$\n\n其中,$\\oplus$ 表示按位异或运算(即 C++ 中的 `^` 符号)。答案对 $998244353$ 取模。\n\n## Input\n\n本题包含多组数据。\n\n第一行输入一个整数 $T$,表示数据组数。\n\n接下来 $T$ 行,每行输入两个整数 $n...",
"is_translate": false,
"language": "English"
}
]
}