API Response (JSON)
{
"problem": {
"name": "B. Seating of Students",
"description": {
"content": "Students went into a class to write a test and sat in some way. The teacher thought: \"Probably they sat in this order to copy works of each other. I need to rearrange them in such a way that students ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF906B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Students went into a class to write a test and sat in some way. The teacher thought: \"Probably they sat in this order to copy works of each other. I need to rearrange them in such a way that students ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "学生进入教室参加考试,并以某种方式就座。老师想:\"他们可能是为了互相抄袭而这样坐的。我需要重新安排他们的座位,使得原来相邻的学生在新座位中不再相邻。\"\n\n班级可以表示为一个包含 #cf_span[n] 行和 #cf_span[m] 列的矩阵,每个单元格中有一名学生。如果两名学生所在的单元格有公共边,则称他们为相邻。\n\n我们将学生从 #cf_span[1] 到 #cf_span[n·m] 按行顺序编...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, m \\in \\mathbb{Z}^+ $ with $ 1 \\leq n, m \\leq 10^5 $ and $ n \\cdot m \\leq 10^5 $. \nLet $ G = (V, E) $ be the grid graph with $ |V| = n \\cdot m $, where each vertex correspon...",
"is_translate": false,
"language": "Formal"
}
]
}