API Response (JSON)
{
"problem": {
"name": "Count Descendants",
"description": {
"content": "We have a rooted tree with $N$ vertices, numbered $1, 2, \\dots, N$. Vertex $1$ is the root, and the parent of Vertex $i \\, (2 \\leq i \\leq N)$ is Vertex $P_i$. You are given $Q$ queries. In the $i$\\-th",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc202_e"
},
"statements": [
{
"statement_type": "Markdown",
"content": "We have a rooted tree with $N$ vertices, numbered $1, 2, \\dots, N$.\nVertex $1$ is the root, and the parent of Vertex $i \\, (2 \\leq i \\leq N)$ is Vertex $P_i$.\nYou are given $Q$ queries. In the $i$\\-th...",
"is_translate": false,
"language": "English"
}
]
}