No.2253 Ignore Subtle Differences
Note
This problem is output only. There is no input.
Problem Statement
It is known that a triangle with positive area formed by $3$ lattice points (points whose $x$ and $y$ coordinates are both integers) on the $xy$-plane can never be equilateral.
Therefore, we call a triangle with positive area formed by $3$ lattice points an almost equilateral triangle if it satisfies the following condition.
Construct $1$ almost equilateral triangle with as large an area as possible.
Input
There is no input.
Output
Output the coordinates $(x_1,y_1),(x_2,y_2),(x_3,y_3)$ of the $3$ points forming an almost equilateral triangle in the following format.
$x_1$ $y_1$ $x_2$ $y_2$ $x_3$ $y_3$Here, $x_1,y_1,x_2,y_2,x_3,y_3$ must be integers at least $0$ and less than $10^{9}$. Also, the $3$ points must form a triangle with positive area, and that triangle must be an almost equilateral triangle with area at least $10^{16}$.
Sample
Sample 1
Input
Output
0 0 1 4 4 1
This sample output illustrates the output format and is not a correct answer.
Indeed, the $3$ points form a triangle with positive area, and that triangle is an almost equilateral triangle. However, its area is $\dfrac{15}{2}$, which seems far from a correct answer.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
noya2
Nachia