API Response (JSON)
{
"problem": {
"name": "E. Slicing cheese",
"description": {
"content": "You have a polygon defined by N points (xi, yi) and a polyline defined by M points (aj, bj). Polyline cuts polygon into some number of smaller polygons. Find the total perimeter P of resulting polygon",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 65536
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10074E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You have a polygon defined by N points (xi, yi) and a polyline defined by M points (aj, bj). Polyline cuts polygon into some number of smaller polygons. Find the total perimeter P of resulting polygon...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ P_{\\text{poly}} = (v_1, v_2, \\dots, v_N) $ be a simple polygon with vertices $ v_i = (x_i, y_i) \\in \\mathbb{R}^2 $. \nLet $ L = (p_1, p_2, \\dots, p_M) $ be a polyline with vert...",
"is_translate": false,
"language": "Formal"
}
]
}