API Response (JSON)
{
"problem": {
"name": "E. In a Trap",
"description": {
"content": "Lech got into a tree consisting of _n_ vertices with a root in vertex number 1. At each vertex _i_ written integer _a__i_. He will not get out until he answers _q_ queries of the form _u_ _v_. Answer ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF840E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Lech got into a tree consisting of _n_ vertices with a root in vertex number 1. At each vertex _i_ written integer _a__i_. He will not get out until he answers _q_ queries of the form _u_ _v_. Answer ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Lech 进入了一棵包含 #cf_span[n] 个顶点的树,根节点为第 #cf_span[1] 号顶点。每个顶点 #cf_span[i] 上写有一个整数 #cf_span[ai]。他必须回答 #cf_span[q] 个形如 #cf_span[u] #cf_span[v] 的查询后才能离开。每个查询的答案是路径从 #cf_span[u] 到 #cf_span[v](包含 #cf_span[u] 和...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, q \\in \\mathbb{Z}^+ $ denote the number of vertices and queries, respectively. \nLet $ T = (V, E) $ be a rooted tree with vertex set $ V = \\{1, 2, \\dots, n\\} $ and root at ve...",
"is_translate": false,
"language": "Formal"
}
]
}