API Response (JSON)
{
"problem": {
"name": "A. Visiting a Friend",
"description": {
"content": "Pig is visiting a friend. Pig's house is located at point 0, and his friend's house is located at point _m_ on an axis. Pig can use teleports to move along the axis. To use a teleport, Pig should c",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF902A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Pig is visiting a friend.\n\nPig's house is located at point 0, and his friend's house is located at point _m_ on an axis.\n\nPig can use teleports to move along the axis.\n\nTo use a teleport, Pig should c...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Pig 正在拜访一位朋友。\n\nPig 的房子位于点 #cf_span[0],他的朋友的房子位于数轴上的点 #cf_span[m]。\n\nPig 可以使用传送装置沿数轴移动。\n\n要使用传送装置,Pig 必须先到达该传送装置所在的位置,并选择移动到何处:每个传送装置都有一个最远可将 Pig 传送到的点,该点被称为该传送装置的极限。\n\n形式上,位于点 #cf_span[x] 且极限为 #cf_span[y...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, m \\in \\mathbb{Z}^+ $ with $ 1 \\leq n \\leq 100 $, $ 1 \\leq m \\leq 100 $. \nLet $ T = \\{(a_i, b_i) \\mid i \\in \\{1, \\dots, n\\}\\} $ be a set of teleports, where: \n- $ a_i \\in \\...",
"is_translate": false,
"language": "Formal"
}
]
}