API Response (JSON)
{
"problem": {
"name": "H. Optimize DFS",
"description": {
"content": "You are given a tree with $n$ vertices. Every vertex $v$ has two values $a_v$ and $b_v$. You have to process $q$ queries of types: First, create an array $\"used\"[ 1 \\\\dots n ]$ filled with _false_ i",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10286H"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a tree with $n$ vertices. Every vertex $v$ has two values $a_v$ and $b_v$. You have to process $q$ queries of types: \n\nFirst, create an array $\"used\"[ 1 \\\\dots n ]$ filled with _false_ i...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ G = (V, E) $ be a grid graph with $ R $ rows and $ C $ columns, where each cell $ (i, j) $ is a vertex. \nLet $ s = (1, 1) $ be the start vertex and $ t = (R, C) $ be the targe...",
"is_translate": false,
"language": "Formal"
}
]
}