API Response (JSON)
{
"problem": {
"name": "B1. Maximum Control (easy)",
"description": {
"content": "The Resistance is trying to take control over all planets in a particular solar system. This solar system is shaped like a tree. More precisely, some planets are connected by bidirectional hyperspace ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF958B1"
},
"statements": [
{
"statement_type": "Markdown",
"content": "The Resistance is trying to take control over all planets in a particular solar system. This solar system is shaped like a tree. More precisely, some planets are connected by bidirectional hyperspace ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "抵抗组织正试图控制某个恒星系统中的所有行星。这个恒星系统呈树状结构。更准确地说,某些行星通过双向超空间隧道相连,使得任意两个行星之间都存在路径,但移除任意一条隧道都会导致部分行星断开连接。\n\n抵抗组织已经部署了措施,当时机成熟时,将能够控制所有非_偏远_的行星。一个行星被认为是偏远的,当且仅当它仅通过一条超空间隧道与其他行星相连。\n\n那么,还剩多少工作要做:即,有多少个偏远行星?\n\n输入的第一行包...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ G = (V, E) $ be an undirected tree with $ |V| = N $ vertices (planets) and $ |E| = N - 1 $ edges (hyperspace tunnels).\n\n**Constraints** \n1. $ 2 \\leq N \\leq 1000 $ \n2. $ G $ i...",
"is_translate": false,
"language": "Formal"
}
]
}