API Response (JSON)
{
"problem": {
"name": "BZOJ4372 烁烁的游戏",
"description": {
"content": "题目背景可以被抽象成这个问题: 给一棵 $n$ 个结点的树,边权均为 $1$,初始点权均为 $0$。进行 $m$ 次操作: - $\\text{Q x}$:询问结点 $x$ 的点权。 - $\\text{M x d w}$:将树上与结点 $x$ 距离不超过 $d$ 的节点的点权均加上 $w$。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10603"
},
"statements": [
{
"statement_type": "Markdown",
"content": "题目背景可以被抽象成这个问题:\n\n给一棵 $n$ 个结点的树,边权均为 $1$,初始点权均为 $0$。进行 $m$ 次操作:\n- $\\text{Q x}$:询问结点 $x$ 的点权。\n- $\\text{M x d w}$:将树上与结点 $x$ 距离不超过 $d$ 的节点的点权均加上 $w$。\n\n## Input\n\n第一行两个正整数 $n,m$。\n\n接下来的 $n-1$ 行,每行三个正整数 $u,v...",
"is_translate": false,
"language": "English"
}
]
}