API Response (JSON)
{
"problem": {
"name": "F. Dominant Indices",
"description": {
"content": "You are given a rooted undirected tree consisting of $n$ vertices. Vertex $1$ is the root. Let's denote a _depth array_ of vertex $x$ as an infinite sequence $[d_{x, 0}, d_{x, 1}, d_{x, 2}, \\dots]$, ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 4000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF1009F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a rooted undirected tree consisting of $n$ vertices. Vertex $1$ is the root.\n\nLet's denote a _depth array_ of vertex $x$ as an infinite sequence $[d_{x, 0}, d_{x, 1}, d_{x, 2}, \\dots]$, ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定一棵包含 $n$ 个顶点的有根无向树。顶点 $1$ 为根。\n\n定义顶点 $x$ 的 _深度数组_ 为一个无限序列 $[ d_(x, 0), d_(x, 1), d_(x, 2), dots.h ]$,其中 $d_(x, i)$ 表示满足以下两个条件的顶点 $y$ 的数量:\n\n顶点 $x$ 的 _深度数组_ 的 _主导索引_(简称顶点 $x$ 的 _主导索引_)是指满足以下条件的索引 $j$...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ T = (V, E) $ be a rooted undirected tree with $ n $ vertices, where $ V = \\{1, 2, \\dots, n\\} $ and vertex $ 1 $ is the root. \nFor each vertex $ x \\in V $, define the *depth ar...",
"is_translate": false,
"language": "Formal"
}
]
}