API Response (JSON)
{
"problem": {
"name": "[Ynoi2004] tars2",
"description": {
"content": "你需要维护平面上的整点,每个点初始有点权 $0$,共 $m$ 次操作。 修改操作:给定 $x,y,d,w$,将满足 $|X-x|<d,|Y-y|<d$ 的整点 $(X,Y)$ 的点权增加 $w\\cdot(d-\\max(|X-x|,|Y-y|))$; 查询操作:给定 $x_1,x_2,y_1,y_2$,查询满足 $x_1\\le X\\le x_2,\\;y_1\\le Y\\le y_2$ 的整点 $(",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 10000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P7"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8335"
},
"statements": [
{
"statement_type": "Markdown",
"content": "你需要维护平面上的整点,每个点初始有点权 $0$,共 $m$ 次操作。\n\n修改操作:给定 $x,y,d,w$,将满足 $|X-x|<d,|Y-y|<d$ 的整点 $(X,Y)$ 的点权增加 $w\\cdot(d-\\max(|X-x|,|Y-y|))$;\n\n查询操作:给定 $x_1,x_2,y_1,y_2$,查询满足 $x_1\\le X\\le x_2,\\;y_1\\le Y\\le y_2$ 的整点 $(...",
"is_translate": false,
"language": "English"
}
]
}