API Response (JSON)
{
"problem": {
"name": "E. Disjoint Triangles",
"description": {
"content": "A point _belongs_ to a triangle if it lies inside the triangle or on one of its sides. Two triangles are _disjoint_ if there is no point on the plane that belongs to both triangles. You are given $n$",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF951E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "A point _belongs_ to a triangle if it lies inside the triangle or on one of its sides. Two triangles are _disjoint_ if there is no point on the plane that belongs to both triangles.\n\nYou are given $n$...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "一个点属于一个三角形,当且仅当它位于三角形内部或其某条边上。两个三角形是互不相交的,当且仅当平面上不存在同时属于这两个三角形的点。\n\n给定平面上的 $n$ 个点。任意两点不重合,且任意三点不共线。\n\n求从给定点中选出两个互不相交的三角形的不同方式数。两种方式如果仅在三角形顺序或三角形内顶点顺序上不同,则视为相同。\n\n输入的第一行包含一个整数 $n$($6 lt.eq n lt.eq 2000$)—...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ P = \\{p_1, p_2, \\dots, p_n\\} $ be a set of $ n $ distinct points in $ \\mathbb{R}^2 $, with no three collinear.\n\nLet $ \\mathcal{T} $ denote the set of all triangles formed by ch...",
"is_translate": false,
"language": "Formal"
}
]
}