API Response (JSON)
{
"problem": {
"name": "F. Berland and the Shortest Paths",
"description": {
"content": "There are $n$ cities in Berland. Some pairs of cities are connected by roads. All roads are bidirectional. Each road connects two different cities. There is at most one road between a pair of cities. ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 5000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF1005F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There are $n$ cities in Berland. Some pairs of cities are connected by roads. All roads are bidirectional. Each road connects two different cities. There is at most one road between a pair of cities. ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "伯兰有 $n$ 座城市。某些城市对之间由道路连接。所有道路都是双向的。每条道路连接两个不同的城市,任意两个城市之间至多有一条道路。城市编号为 $1$ 到 $n$。\n\n已知从首都(编号为 $1$ 的城市)出发,可以通过道路到达任何其他城市。\n\n伯兰总统计划改善国家的道路网络。预算恰好足够修复 $n -1$ 条道路。总统计划选择一个包含 $n -1$ 条道路的集合,使得:\n\n换句话说,所选的 $n -...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ G = (V, E) $ be an undirected, connected graph with: \n- $ V = \\{1, 2, \\dots, n\\} $: set of cities (vertices), \n- $ E = \\{e_1, e_2, \\dots, e_m\\} $: set of roads (edges), with ...",
"is_translate": false,
"language": "Formal"
}
]
}