API Response (JSON)
{
"problem": {
"name": "B. Christmas Spruce",
"description": {
"content": "Consider a rooted tree. A rooted tree has one special vertex called the root. All edges are directed from the root. Vertex _u_ is called a _child_ of vertex _v_ and vertex _v_ is called a _parent_ of ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF913B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Consider a rooted tree. A rooted tree has one special vertex called the root. All edges are directed from the root. Vertex _u_ is called a _child_ of vertex _v_ and vertex _v_ is called a _parent_ of ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "考虑一棵有根树。有根树有一个特殊的顶点称为根。所有边都从根指向外。如果存在一条从顶点 #cf_span[v] 指向顶点 #cf_span[u] 的有向边,则称顶点 #cf_span[u] 是顶点 #cf_span[v] 的 _子节点_,顶点 #cf_span[v] 是顶点 #cf_span[u] 的 _父节点_。如果一个顶点没有子节点但有父节点,则称其为 _叶子_。\n\n我们称一棵有根树为 _松树_...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ T = (V, E) $ be a rooted tree with $ n $ vertices, where vertex $ 1 $ is the root. \nLet $ \\text{parent}(v) $ denote the parent of vertex $ v \\neq 1 $, and $ \\text{children}(v) $ denote the set ...",
"is_translate": false,
"language": "Formal"
}
]
}