API Response (JSON)
{
"problem": {
"name": "A. Tree Search",
"description": {
"content": "You are given a tree with N nodes, each node has an associated cost. You need to answer M questions of the type: \"which is the maximum cost of a path that contains node Q?\". The first line of the inp",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 16384
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10100A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a tree with N nodes, each node has an associated cost. You need to answer M questions of the type: \"which is the maximum cost of a path that contains node Q?\".\n\nThe first line of the inp...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ N, M \\in \\mathbb{Z}^+ $ denote the number of nodes and queries, respectively. \nLet $ G = (V, E) $ be a tree with $ |V| = N $, $ |E| = N-1 $. \nLet $ c : V \\to \\mathbb{Z} $ be ...",
"is_translate": false,
"language": "Formal"
}
]
}