API Response (JSON)
{
"problem": {
"name": "数列前缀和 4",
"description": {
"content": "给定一个 $n$ 行 $m$ 列的矩阵 $a$,有 $q$ 次询问,每次给定 $(u, v)$ 和 $(x, y)$,请你求出: $$(\\sum_{i = u}^x \\sum_{j = v}^y a_{i,j}) \\bmod 2^{64}$$ 也就是求出以 $(u, v)$ 为左上角、$(x,y)$ 为右下角的矩形元素和对 $2^{64}$ 取余数的结果。",
"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": "LGB3693"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定一个 $n$ 行 $m$ 列的矩阵 $a$,有 $q$ 次询问,每次给定 $(u, v)$ 和 $(x, y)$,请你求出:\n\n$$(\\sum_{i = u}^x \\sum_{j = v}^y a_{i,j}) \\bmod 2^{64}$$\n\n也就是求出以 $(u, v)$ 为左上角、$(x,y)$ 为右下角的矩形元素和对 $2^{64}$ 取余数的结果。\n\n## Input\n\n**本题单测试...",
"is_translate": false,
"language": "English"
}
]
}