API Response (JSON)
{
"problem": {
"name": "E. Upgrading Tree",
"description": {
"content": "You are given a tree with _n_ vertices and you are allowed to perform **no more than** 2_n_ transformations on it. Transformation is defined by three vertices _x_, _y_, _y_' and consists of deleting e",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 4000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF844E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a tree with _n_ vertices and you are allowed to perform **no more than** 2_n_ transformations on it. Transformation is defined by three vertices _x_, _y_, _y_' and consists of deleting e...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定一棵包含 #cf_span[n] 个顶点的树,你最多可以对其执行 #cf_span[2n] 次变换。一次变换由三个顶点 #cf_span[x, y, y'] 定义,其操作为删除边 #cf_span[(x, y)] 并添加边 #cf_span[(x, y')]。当满足以下所有条件时,可以执行变换 #cf_span[x, y, y']:\n\n你需要*最小化*在不超过 #cf_span[2n] 次...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ T = (V, E) $ be a tree with $ n = |V| $ vertices and $ n-1 $ edges. \nLet $ d_T(u, v) $ denote the distance between vertices $ u $ and $ v $ in $ T $. \nThe objective function ...",
"is_translate": false,
"language": "Formal"
}
]
}