API Response (JSON)
{
"problem": {
"name": "Non-Ancestor Matching",
"description": {
"content": "You are given a rooted tree with $N$ vertices numbered from $1$ to $N$. Vertex $1$ is the root, and the parent of vertex $i$ $(2 \\le i \\le N)$ is vertex $p_i$ $(1\\le p_i < i)$. Initially, all vertices",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "arc205_d"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a rooted tree with $N$ vertices numbered from $1$ to $N$. Vertex $1$ is the root, and the parent of vertex $i$ $(2 \\le i \\le N)$ is vertex $p_i$ $(1\\le p_i < i)$. Initially, all vertices...",
"is_translate": false,
"language": "English"
}
]
}