API Response (JSON)
{
"problem": {
"name": "D. Full Binary Tree Queries",
"description": {
"content": "You have a full binary tree having infinite levels. Each node has an initial value. If a node has value _x_, then its left child has value 2·_x_ and its right child has value 2·_x_ + 1. The value of",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 4000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF960D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You have a full binary tree having infinite levels.\n\nEach node has an initial value. If a node has value _x_, then its left child has value 2·_x_ and its right child has value 2·_x_ + 1.\n\nThe value of...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "[{\"iden\":\"statement\",\"content\":\"你有一个具有无限层的完全二叉树。\\n\\n每个节点有一个初始值。如果一个节点的值为 $x$,则其左子节点的值为 $2·x$,右子节点的值为 $2·x + 1$。\\n\\n根节点的值为 $1$。\\n\\n你需要回答 $Q$ 个查询。\\n\\n共有 $3$ 种类型的查询:\\n\\n正数 $K$ 表示右循环移位,负数 $K$ 表示左循环移位。\\n\\n...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ T $ be the infinite full binary tree with root value $ 1 $, where for any node with value $ x $, its left child has value $ 2x $ and right child has value $ 2x + 1 $. \n\nLet $ ...",
"is_translate": false,
"language": "Formal"
}
]
}