API Response (JSON)
{
"problem": {
"name": "D. Power Tower",
"description": {
"content": "Priests of the Quetzalcoatl cult want to build a tower to represent a power of their god. Tower is usually made of power-charged rocks. It is built with the help of rare magic by levitating the curren",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 4000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF906D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Priests of the Quetzalcoatl cult want to build a tower to represent a power of their god. Tower is usually made of power-charged rocks. It is built with the help of rare magic by levitating the curren...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "基瓦尔科特神的祭司们希望建造一座塔,以象征他们神明的力量。塔通常由充满能量的岩石建造,通过一种稀有魔法构建:将当前塔顶悬浮,并在底部添加岩石。如果当前塔顶由 #cf_span[k - 1] 块岩石构成,其能量为 #cf_span[p],现在要添加一块能量为 #cf_span[wk] 的岩石,则新塔的能量值为 #cf_span[{wk}p]。 \n\n岩石的添加顺序是从最后一块到第一块。因此,对于序列 ...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, m \\in \\mathbb{Z}^+ $, with $ 1 \\leq n \\leq 10^5 $, $ 1 \\leq m \\leq 10^9 $. \nLet $ W = (w_1, w_2, \\dots, w_n) $ be a sequence of integers, where $ 1 \\leq w_i \\leq 10^9 $. \n...",
"is_translate": false,
"language": "Formal"
}
]
}