API Response (JSON)
{
"problem": {
"name": "B. Segments",
"description": {
"content": "You are given an integer _N_. Consider all possible segments on the coordinate axis with endpoints at integer points with coordinates between 0 and _N_, inclusive; there will be of them. You want to ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF909B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given an integer _N_. Consider all possible segments on the coordinate axis with endpoints at integer points with coordinates between 0 and _N_, inclusive; there will be of them.\n\nYou want to ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "[{\"iden\":\"statement\",\"content\":\"给定一个整数 $N$。考虑所有在坐标轴上端点为整数点、且坐标介于 0 和 $N$ 之间(含端点)的线段;共有 $\\\\frac{(N+1)(N+2)}{2}$ 条这样的线段。\\n\\n你希望将这些线段绘制在若干层中,使得每层中的线段互不重叠(但端点可以接触)。你*不能*将线段移动到坐标轴上的其他位置。\\n\\n求出绘制这些线段所需的最少层数...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ N \\in \\mathbb{Z} $, with $ 1 \\leq N \\leq 100 $. \nLet $ \\mathcal{S} = \\{ [i, j] \\mid 0 \\leq i \\leq j \\leq N \\} $ be the set of all integer-coordinate segments on $[0, N]$.\n\n**C...",
"is_translate": false,
"language": "Formal"
}
]
}