Problem C. Triangle Partition
时间限制 1000 ms
内存限制 129.65625 MB
Chiaki has $3n$ points $p_1,p_2,\dots,p_{3n}$. It is guaranteed that no three points are collinear.
Chiaki would like to construct $n$ disjoint triangles where each vertex comes from the $3n$ points.
输入数据
输出数据
For each test case, output $n$ lines contain three integers $a_i,b_i,c_i$ ($1 \le a_i,b_i,c_i \le 3n$) each denoting the indices of points the $i$-th triangle use. If there are multiple solutions, you can output any of them.
样例输入
样例输出
$ Mathjax font initiator $