API Response (JSON)
{
"problem": {
"name": "A. Row",
"description": {
"content": "You're given a row with $n$ chairs. We call a seating of people \"maximal\" if the two following conditions hold: 1. There are no neighbors adjacent to anyone seated. 2. It's impossible to seat one m",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF982A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You're given a row with $n$ chairs. We call a seating of people \"maximal\" if the two following conditions hold:\n\n1. There are no neighbors adjacent to anyone seated.\n2. It's impossible to seat one m...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你面前有一排 n 把椅子。我们称一种坐人方式为“最大”的,如果满足以下两个条件:\n\n坐人方式由一个由 0 和 1 组成的字符串表示(0 表示对应座位为空,1 表示被占用)。你的目标是判断这种坐人方式是否为“最大”的。\n\n注意:第一把和最后一把椅子 *不* 相邻(当 n != 2 时)。\n\n第一行包含一个整数 n(1 lt.eq n lt.eq 1000)— 椅子的数量。\n\n第二行包含一个长度为 n...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the number of chairs. \nLet $ s \\in \\{0,1\\}^n $ be a binary string representing the seating, where $ s_i = 1 $ means chair $ i $ is occupied, and $ s_i = ...",
"is_translate": false,
"language": "Formal"
}
]
}