406868: GYM102586 H Construct Points

Memory Limit:1024 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

H. Construct Pointstime limit per test1 secondmemory limit per test1024 megabytesinputstandard inputoutputstandard output

Construct four points $$$a,b,c$$$ and $$$d$$$ on the two-dimensional plane that satisfy the following conditions:

  • $$$x$$$ and $$$y$$$ coordinates of all points are integers, and their absolute values don't exceed $$$10^9$$$
  • $$$a$$$ and $$$b$$$ are different, and $$$c$$$ and $$$d$$$ are different.
  • Let $$$l$$$ be the line passing through $$$a$$$ and $$$b$$$, and let $$$m$$$ be the line passing through $$$c$$$ and $$$d$$$. Then,
    • $$$l$$$ and $$$m$$$ are not parallel.
    • the absolute values of $$$x$$$ and $$$y$$$ coordinates of the cross point of $$$l$$$ and $$$m$$$ are not less than $$$10^{27}$$$.
Input

There is no input.

Output

Print the answer in the following format:

$$$a_x$$$ $$$a_y$$$

$$$b_x$$$ $$$b_y$$$

$$$c_x$$$ $$$c_y$$$

$$$d_x$$$ $$$d_y$$$

加入题单

算法标签: