API Response (JSON)
{
"problem": {
"name": "B. New Year's Eve",
"description": {
"content": "Since Grisha behaved well last year, at New Year's Eve he was visited by Ded Moroz who brought an enormous bag of gifts with him! The bag contains _n_ sweet candies from _the good ol' bakery_, each la",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF912B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Since Grisha behaved well last year, at New Year's Eve he was visited by Ded Moroz who brought an enormous bag of gifts with him! The bag contains _n_ sweet candies from _the good ol' bakery_, each la...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "由于 Grisha 去年表现良好,除夕夜他被圣诞老人拜访,后者带来了一个装满礼物的巨大袋子!袋子里有 #cf_span[n] 颗来自 _传统烘焙店_ 的糖果,每颗糖果的美味度从 #cf_span[1] 到 #cf_span[n] 标记,且每颗糖果的美味度互不相同。\n\n糖果的选择直接影响 Grisha 的幸福感。人们可能会认为他应该拿最美味的糖果——但不对,节日的魔法让事情颠倒了!决定幸福感的是美味...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, k \\in \\mathbb{Z} $ with $ 1 \\leq k \\leq n \\leq 10^{18} $. \nLet $ S = \\{1, 2, \\dots, n\\} $ be the set of candy tastiness values.\n\n**Objective** \nFind the maximum possible X...",
"is_translate": false,
"language": "Formal"
}
]
}