QOJ.ac

QOJ

Time Limit: 1.0 s Memory Limit: 1024 MB Total points: 100

#12008. 构造点

Statistics

在二维平面上构造四个点 $a, b, c$ 和 $d$,使得它们满足以下条件:

  • 所有点的 $x$ 和 $y$ 坐标均为整数,且它们的绝对值不超过 $10^9$。
  • $a$ 和 $b$ 不相同,$c$ 和 $d$ 不相同。
  • 设 $l$ 为经过 $a$ 和 $b$ 的直线,$m$ 为经过 $c$ 和 $d$ 的直线。则:
    • $l$ 和 $m$ 不平行。
    • $l$ 和 $m$ 交点的 $x$ 和 $y$ 坐标的绝对值均不小于 $10^{27}$。

按以下格式输出答案:

$a_x \ a_y$ $b_x \ b_y$ $c_x \ c_y$ $d_x \ d_y$

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.