描述 |
---|
This is a simple problem. Given two triangles A and B, you should determine they are intersect, contain or disjoint. (Public edge or point are treated as intersect.) |
输入 |
First line contains an integer T (1 ≤ T ≤ 10), represents there are T test cases. |
输出 |
For each test case, output “intersect”, “contain” or “disjoint”. |
样例输入 |
2 |
样例输出 |
disjoint
|
HINT |
|
来源 |
2017年第八届福建省大学生程序设计竞赛正式赛B |