API Response (JSON)
{
"problem": {
"name": "A. Queries on the Tree",
"description": {
"content": "You are given a directed tree with N with nodes numbered 1 to N and rooted at node 1. Each node initially contains 0 coins. You have to handle a total of M operations: First line contains N and M. ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10058A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a directed tree with N with nodes numbered 1 to N and rooted at node 1. Each node initially contains 0 coins.\n\nYou have to handle a total of M operations: \n\nFirst line contains N and M. ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ N, M \\in \\mathbb{Z}^+ $. \nLet $ T = (V, E) $ be a directed tree with $ V = \\{1, 2, \\dots, N\\} $, rooted at node 1, and $ |E| = N - 1 $. \nLet $ c : V \\to \\mathbb{Z}_{\\geq 0} $...",
"is_translate": false,
"language": "Formal"
}
]
}