API Response (JSON)
{
"problem": {
"name": "Z. Trick or Treap",
"description": {
"content": "Halloween is almost here! Here in the United States, it is a tradition for young children to dress up as demons and super heros wonder around in the dark very late at night, visit random strangers in ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 8000,
"memory_limit": 1048576
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CFZ"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Halloween is almost here! Here in the United States, it is a tradition for young children to dress up as demons and super heros wonder around in the dark very late at night, visit random strangers in ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "万圣节快到了!在美国,年轻孩子们有这样一种传统:装扮成恶魔或超级英雄,在深夜黑暗中四处游荡,敲开陌生人家的门,讨要糖果。\n\n爱丽丝和鲍勃刚刚解决了一个需要吃掉约 $10^9$ 颗糖果的问题,现在他们已经吃得太饱了,因此他们改为要求邻居们要么给他们表演一个把戏,要么送他们一个全新的 treap(“trick or treap”)!共进行 $q$ 次操作,每次会发生以下之一:\n\n- 1. 这位邻居会给...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ q \\in \\mathbb{Z} $ be the number of queries. \nLet $ V \\subseteq \\mathbb{Z}_{\\geq 0} $ be the set of node identifiers, with $ |V| \\leq q $. \nLet $ \\text{val}: V \\to \\mathbb{Z}...",
"is_translate": false,
"language": "Formal"
}
]
}