API Response (JSON)
{
"problem": {
"name": "G. The Winds of Winter",
"description": {
"content": "Given a rooted tree with _n_ nodes. The Night King removes exactly one node from the tree and all the edges associated with it. Doing this splits the tree and forms a forest. The node which is removed",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF768G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Given a rooted tree with _n_ nodes. The Night King removes exactly one node from the tree and all the edges associated with it. Doing this splits the tree and forms a forest. The node which is removed...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定一棵包含 #cf_span[n] 个节点的有根树。夜王恰好移除树中的一个节点以及与之关联的所有边。这会将树分割成一片森林。被移除的节点不属于森林。\n\n森林中每棵树的根是该树中没有父节点的节点。我们定义森林的强度为森林中最大树的大小。\n\n琼·雪希望最小化森林的强度。为此,他最多可以执行一次以下操作:\n\n_他移除一个节点与其父节点之间的边,并在该节点与森林中的任意其他节点之间插入一条新边,使得森林...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ T = (V, E) $ be a rooted tree with $ n $ nodes, where $ V = \\{1, 2, \\dots, n\\} $. \nFor each node $ v \\in V $, let $ \\text{parent}(v) $ denote its parent (0 if root), and $ \\te...",
"is_translate": false,
"language": "Formal"
}
]
}