API Response (JSON)
{
"problem": {
"name": "D. The Bakery",
"description": {
"content": "<center></center>Some time ago Slastyona the Sweetmaid decided to open her own bakery! She bought required ingredi",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF834D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "<center></center>Some time ago Slastyona the Sweetmaid decided to open her own bakery! She bought required ingredi...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "不久前,Slastyona 甜点师决定开设自己的面包店!她购买了所需的原料和一台神奇的烤箱,这台烤箱可以烘烤多种蛋糕,并正式开业了。\n\n很快,支出开始超过收入,因此 Slastyona 决定研究甜点市场。她发现将蛋糕装盒销售是盈利的,并且一个盒子中包含的蛋糕类型越**不同**(记该数量为盒子的 _值_),其售价就越高。\n\n她需要改变生产技术!问题是烤箱会自行选择蛋糕类型,而 Slastyona 无...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, k \\in \\mathbb{Z} $ be the number of cakes and the number of boxes, respectively. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of cake types, where $ a_i \\in \\{1, 2, \\d...",
"is_translate": false,
"language": "Formal"
}
]
}