问题描述 |
---|
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
|
来源 |
2017年第八届福建省大学生程序设计竞赛正式赛B |