API Response (JSON)
{
"problem": {
"name": "A. 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": "CF949A"
},
"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 = s_1 s_2 \\dots s_n $ be a string of length $ n \\geq 1 $, where $ s_i \\in \\{0,1\\} $ for all $ i \\in \\{1, \\dots, n\\} $. \nA *zebra* is a non-empty subsequence $ s_{i_1}, s_{i_...",
"is_translate": false,
"language": "Formal"
}
]
}