API Response (JSON)
{
"problem": {
"name": "F. Minimize Tree",
"description": {
"content": "Given a weighted undirected tree of N nodes, rooted at the node 1. You can remove at most 1 edge and add another edge of same weight such that the resulting graph is still a tree. Minimize the sum of ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10105F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Given a weighted undirected tree of N nodes, rooted at the node 1. You can remove at most 1 edge and add another edge of same weight such that the resulting graph is still a tree. Minimize the sum of ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ T = (V, E) $ be a weighted undirected tree with $ |V| = N $, rooted at node $ 1 $. \nLet $ w(e) \\in \\mathbb{Z} $ denote the weight of edge $ e \\in E $, with $ |E| = N - 1 $. \n...",
"is_translate": false,
"language": "Formal"
}
]
}