API Response (JSON)
{
"problem": {
"name": "D. Green and Black Tea",
"description": {
"content": "Innokentiy likes tea very much and today he wants to drink exactly _n_ cups of tea. He would be happy to drink more but he had exactly _n_ tea bags, _a_ of them are green and _b_ are black. Innokenti",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF746D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Innokentiy likes tea very much and today he wants to drink exactly _n_ cups of tea. He would be happy to drink more but he had exactly _n_ tea bags, _a_ of them are green and _b_ are black.\n\nInnokenti...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Innokentiy 非常喜欢喝茶,今天他想恰好喝掉 #cf_span[n] 杯茶。他本想喝更多,但他只有恰好 #cf_span[n] 个茶包,其中 #cf_span[a] 个是绿茶,#cf_span[b] 个是红茶。\n\nInnokentiy 不喜欢连续饮用超过 #cf_span[k] 次同一种茶(绿茶或红茶)。你的任务是确定一个冲泡茶包的顺序,使得 Innokentiy 能够喝掉 #cf_spa...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions:**\n- Let $ n $ be the total number of tea cups to brew.\n- Let $ k $ be the maximum number of consecutive cups of the same tea type allowed.\n- Let $ a $ be the number of green tea bags ($...",
"is_translate": false,
"language": "Formal"
}
]
}