API Response (JSON)
{
"problem": {
"name": "F. Uniformly Branched Trees",
"description": {
"content": "A tree is a connected graph without cycles. Two trees, consisting of _n_ vertices each, are called _isomorphic_ if there exists a permutation _p_: {1, ..., _n_} → {1, ..., _n_} such that the edge (_u",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF724F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "A tree is a connected graph without cycles.\n\nTwo trees, consisting of _n_ vertices each, are called _isomorphic_ if there exists a permutation _p_: {1, ..., _n_} → {1, ..., _n_} such that the edge (_u...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "树是一个无环的连通图。\n\n两棵各有 #cf_span[n] 个顶点的树称为 _同构_ 的,当且仅当存在一个排列 #cf_span[p: {1, ..., n} → {1, ..., n}],使得边 #cf_span[(u, v)] 出现在第一棵树中,当且仅当边 #cf_span[(pu, pv)] 出现在第二棵树中。\n\n若一个顶点的度数大于或等于二,则称其为内部顶点。\n\n计算具有 #cf_span...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, d, \\text{mod} \\in \\mathbb{Z} $ with $ 1 \\leq n \\leq 1000 $, $ 2 \\leq d \\leq 10 $, and $ 10^8 \\leq \\text{mod} \\leq 10^9 $, where mod is prime. \nLet $ T $ be a tree on $ n $ ...",
"is_translate": false,
"language": "Formal"
}
]
}