API Response (JSON)
{
"problem": {
"name": "F. 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": "CF1025F"
},
"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 l...",
"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"
}
]
}