#Lutece0068. Fishing
Fishing
Migrated from Lutece 68 Fishing
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
There are many round lakes in the new campus of UESTC. Some lakes completely belong to UESTC, but some lakes don't locate in UESTC absolutely. WCM likes going fishing. He often goes fishing on weekends. But Tom Riddle who is the local officer makes a law that all the students of UESTC can only fish in the lakes which completely locate in UESTC. Therefore, as for a round lake, WCM must be sure whether it locates in UESTC completely. Can you help him solve this problem?
To simplify the problem, the new campus of UESTC is supposed to be a rectangle. Given a rectangle and a circle, you should determine whether the circle is inside the rectangle completely. You can assume that the rectangle's sides are always parallel to -coordinate axes or -coordinate axes.
Input
The input contains an integer on the first line, which indicates the number of test cases. Each test case consists of two lines. The first line contains four integers, ,,,, (), () represents the coordinates of the lower-left vertex of the rectangle and () represents the coordinates of the upper-right vertex of the rectangle. The second line contains three integers, , , , (), (, ) represents the coordinates of the center of the circle, and represents the radius of the circle.
Output
For each test case, if the circle is inside the rectangle completely, then output Just do it
on a line; otherwise, output Don't get close to it
instead.
Samples
3
-2 -1 2 2
1 0 1
1 3 7 9
4 6 3
-5 6 3 10
2 7 5
Just do it
Just do it
Don't get close to it
Resources
The 5th UESTC Programming Contest Preliminary