API Response (JSON)
{
"problem": {
"name": "F. Tree Restoration",
"description": {
"content": "There is a tree of n vertices. For each vertex a list of all its successors is known (not only direct ones). It is required to restore the tree or to say there is no such tree. The first line contain",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10175F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There is a tree of n vertices. For each vertex a list of all its successors is known (not only direct ones). It is required to restore the tree or to say there is no such tree.\n\nThe first line contain...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the number of vertices, with $ 1 \\leq n \\leq 1000 $. \nFor each vertex $ i \\in \\{1, \\dots, n\\} $, let $ S_i \\subseteq \\{1, \\dots, n\\} \\setminus \\{i\\} $ de...",
"is_translate": false,
"language": "Formal"
}
]
}