QOJ.ac

QOJ

حد الوقت: 1.0 s حد الذاكرة: 32 MB مجموع النقاط: 20

#17096. CETVRTA

الإحصائيات

Mirko 需要在平面上选择四个点,使它们构成一个边与坐标轴平行的矩形。他已经选择了三个点,并且确信自己没有犯错,但他现在无法确定最后一个点的位置。请帮助他。

输入格式

已经选择的三个点将分别在单独的一行中给出。所有坐标均为 $1$ 到 $1000$ 之间的整数。

输出格式

输出该矩形第四个顶点的坐标。

样例

输入样例 1

5 5
5 7
7 5

输出样例 1

7 7

输入样例 2

30 20
10 10
10 20

输出样例 2

30 10

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.