题号:NC208885
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld
题目描述
ZYB has a so-called smart brain: He can always point out the keypoint in a complex problem.
There are two parallel lines AB and CD in a plane.

are all distinct points.
You only know the Euclidean Distances between
. but you don't know the exact order of points. (i.e. You don't know whether it's

or

).
Could you determine the order of points quickly, like the ZYB does?
输入描述:
The input contains multiple cases. The first line of the input contains a single integer
, the number of cases.
For each case, there are four integers
)
in a line, indicating the distances between

.
It is guaranteed that each case corresponds to a valid solution.
输出描述:
For each case, output 'AB//CD' (Quotation marks) if
, or output 'AB//DC' (Quotation marks) if
.