API Response (JSON)
{
"problem": {
"name": "L. Bars",
"description": {
"content": "Polycarp's workday lasts exactly $n$ minutes. He loves chocolate bars and can eat one bar in one minute. Today Polycarp has $k$ bars at the beginning of the workday. In some minutes of the workday Po",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF795L"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Polycarp's workday lasts exactly $n$ minutes. He loves chocolate bars and can eat one bar in one minute. Today Polycarp has $k$ bars at the beginning of the workday.\n\nIn some minutes of the workday Po...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Polycarp 的工作日持续恰好 $n$ 分钟。他喜欢巧克力棒,每分钟可以吃掉一根。今天 Polycarp 在工作日开始时有 $k$ 根巧克力棒。\n\n在工作日的某些分钟里,Polycarp 有重要的事情要做,在这些分钟里他无法吃巧克力棒。在其他分钟里,他可以选择吃或不吃一根巧克力棒。保证在工作日的第一分钟和最后一分钟,Polycarp 没有重要的事情要做,他一定会在这两个时间点吃巧克力棒,以在工...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, k \\in \\mathbb{Z} $ with $ 2 \\leq n \\leq 200000 $, $ 2 \\leq k \\leq n $. \nLet $ s \\in \\{0,1\\}^n $ be a binary string where $ s_i = 0 $ indicates minute $ i $ is free (can eat...",
"is_translate": false,
"language": "Formal"
}
]
}