API Response (JSON)
{
"problem": {
"name": "C. Zebras",
"description": {
"content": "Oleg writes down the history of the days he lived. For each day he decides if it was good or bad. Oleg calls a non-empty sequence of days a _zebra_, if it starts with a bad day, ends with a bad day, a",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF950C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Oleg writes down the history of the days he lived. For each day he decides if it was good or bad. Oleg calls a non-empty sequence of days a _zebra_, if it starts with a bad day, ends with a bad day, a...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Oleg 记录了他生活每一天的历史。对于每一天,他决定它是好是坏。Oleg 将一个非空的天数序列称为 _zebra_,当且仅当它以坏天开始,以坏天结束,并且好天与坏天在其中交替出现。我们将坏天记为 _0_,好天记为 _1_。例如,序列 _0_、_010_、_01010_ 是 zebra,而序列 _1_、_0110_、_0101_ 则不是。\n\nOleg 按照时间顺序告诉你他生活每一天的历史,以由 _...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s \\in \\{0,1\\}^n $ be a binary string of length $ n \\geq 1 $, where $ 0 $ denotes a bad day and $ 1 $ denotes a good day. \n\nA *zebra* is a non-empty subsequence $ (i_1, i_2, \\d...",
"is_translate": false,
"language": "Formal"
}
]
}