API Response (JSON)
{
"problem": {
"name": "B. Dynamic Diameter",
"description": {
"content": "You are given $n + 1$ nodes and $n -1$ edges where the first $n$ nodes are a tree and node $n + 1$ is in its own component. For each node $i$ from $1... n$, answer the following question: If an edge ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10269B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given $n + 1$ nodes and $n -1$ edges where the first $n$ nodes are a tree and node $n + 1$ is in its own component. For each node $i$ from $1... n$, answer the following question:\n\nIf an edge ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ T = (V, E) $ be a tree with $ V = \\{1, 2, \\dots, n\\} $ and $ |E| = n - 1 $. Let $ v_{n+1} $ be an isolated node. \n\nFor each $ i \\in \\{1, \\dots, n\\} $, define $ T_i = (V \\cup \\...",
"is_translate": false,
"language": "Formal"
}
]
}