#Lutece0504. 正三角形的顶点

正三角形的顶点

Migrated from Lutece 504 正三角形的顶点

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

给出直角坐标平面上正三角形其中两个顶点的坐标(横坐标xx在前,纵坐标yy在后),求第三个顶点的坐标。要求保留小数点后两位小数。

Input

有多组测试数据。输入的第一行是整数TT(1T2001\leq T\leq 200),表示随后测试数据的组数。每组测试数据占一行,由44个带两位小数并由一个空格隔开的实数构成,表示已知的两个顶点的横纵坐标。

Output

对应每组测试数据,输出对应的第三个顶点(两组解)。如果两组解的横坐标不相等,则先输出横坐标较小的顶点,否则输出纵坐标较小的顶点。每组输出占一行。

Samples

3
12.00 3.00 12.00 9.00
12.00 3.00 24.00 3.00
1.00 2.00 3.00 4.00
6.80 6.00 17.20 6.00
18.00 -7.39 18.00 13.39
0.27 4.73 3.73 1.27

Resources

wxiaoping