API Response (JSON)
{
"problem": {
"name": "C. Plasticine zebra",
"description": {
"content": "Is there anything better than going to the zoo after a tiresome week at work? No wonder Grisha feels the same while spending the entire weekend accompanied by pretty striped zebras. Inspired by this ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF1025C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Is there anything better than going to the zoo after a tiresome week at work? No wonder Grisha feels the same while spending the entire weekend accompanied by pretty striped zebras.\n\nInspired by this ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "在辛苦工作了一周之后,还有什么比去动物园更美好的呢?难怪格里沙在整个周末与漂亮的条纹斑马相伴时也感到如此愉悦。\n\n受这次冒险的启发,以及偶然找到的一包橡皮泥(表示为一系列黑白条纹),格里沙现在希望选择若干连续的、颜色交替的片段来制作一条斑马。我们称所选片段的数量为斑马的长度。\n\n在组装斑马之前,格里沙可以执行以下操作零次或多次:他将序列在某个位置切成两部分,然后分别反转这两部分,再将它们重新拼接在...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s \\in \\{b, w\\}^n $ be a string of length $ n $, where $ n \\in \\mathbb{Z} $, $ 1 \\leq n \\leq 10^5 $.\n\nA *zebra* is a contiguous substring of $ s $ in which no two adjacent chara...",
"is_translate": false,
"language": "Formal"
}
]
}