自编SketchUp My SketchUp

题目描述

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=278&page=show_problem&problem=3728 [PDF](https://uva.onlinejudge.org/external/123/p12306.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12306/96be410675493483bd959da168a5e65eecfe2bc9.png)

输入输出格式

输入格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12306/b66055c338f2f3fe10f140e617461552b4ee5eda.png)

输出格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12306/262d03764560f5e84284cc95fa72e0d792bfbf2c.png)

输入输出样例

输入样例 #1

7
DRAW 10 0 50 0 50 30 10 30 10 0
DRAW 0 10 10 10 10 20 0 20 0 10
DRAW 40 0 40 10 50 10 50 0
REMOVE 45 1 1
DRAW 50 20 20 20 20 30
DRAW 40 20 40 30
REMOVE 42 23 3
END
7
DRAW 0 0 10 0
DRAW 1 0 11 0
DRAW 12 0 15 0
DRAW 5 0 5 1
DRAW 8 0 8 1
REMOVE 5 2 1
DRAW 11 0 12 0
END
0

输出样例 #1

14
0.00 10.00
0.00 20.00
10.00 0.00
10.00 10.00
10.00 20.00
10.00 30.00
20.00 20.00
20.00 30.00
40.00 0.00
40.00 10.00
40.00 20.00
50.00 0.00
50.00 10.00
50.00 30.00
15
1 2
1 4
2 5
3 4
3 9
4 5
5 6
6 8
7 8
7 11
8 14
9 10
10 13
12 13
13 14
4
0.00 0.00
8.00 0.00
8.00 1.00
15.00 0.00
3
1 2
2 3
2 4