API Response (JSON)
{
"problem": {
"name": "A. Points on the line",
"description": {
"content": "_We've got no test cases. A big olympiad is coming up. But the problemsetters' number one priority should be adding another problem to the round._ The **diameter** of a multiset of points on the line",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF940A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "_We've got no test cases. A big olympiad is coming up. But the problemsetters' number one priority should be adding another problem to the round._\n\nThe **diameter** of a multiset of points on the line...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "我们没有任何测试用例。一场大型竞赛即将来临。但出题者的首要任务应该是为本轮添加一道新题。\n\n数集在数轴上的直径是该集合中任意两点之间的最大距离。例如,数集 #cf_span[{1, 3, 2, 1}] 的直径为 2。\n\n仅包含一个点的数集的直径为 0。\n\n给你数轴上的 #cf_span[n] 个点。你需要移除最少多少个点,使得剩余点构成的数集的直径不超过 #cf_span[d]?\n\n第一行包含两个...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $, $ d \\in \\mathbb{Z}_{\\geq 0} $. \nLet $ P = \\{x_1, x_2, \\dots, x_n\\} \\subset \\mathbb{R} $ be a multiset of point coordinates.\n\n**Constraints** \n1. $ 1 \\le...",
"is_translate": false,
"language": "Formal"
}
]
}