API Response (JSON)
{
"problem": {
"name": "D. Driving Test",
"description": {
"content": "Polycarp has just attempted to pass the driving test. He ran over the straight road with the signs of four types. * speed limit: this sign comes with a positive integer number — maximal speed of th",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF845D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Polycarp has just attempted to pass the driving test. He ran over the straight road with the signs of four types.\n\n* speed limit: this sign comes with a positive integer number — maximal speed of th...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Polycarp 刚刚尝试通过驾驶考试。他驶过一条笔直的道路,路上有四种类型的标志。\n\nPolycarp 按顺序经过这些标志,每个新标志会取消之前同类型标志的作用(限速/超车)。可能存在两个或多个 \"禁止超车\" 标志连续出现,且它们之间没有 \"允许超车\" 标志;\"无速度限制\" 和 \"允许超车\" 标志也是如此。\n\n在旅程开始时,允许超车,且无速度限制。\n\n你将获得按时间顺序排列的事件序列——这些是 ...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the number of events. \nLet $ E = (e_1, e_2, \\dots, e_n) $ be the sequence of events, where each $ e_i $ is a tuple $ (t_i, s_i) $: \n- $ t_i \\in \\{1, 2, ...",
"is_translate": false,
"language": "Formal"
}
]
}