Problem G. The area
时间限制 1000 ms
内存限制 32 MB
Ignatius bought a land last week, but he didn't know the area of the land because the land is enclosed by a parabola and a straight line. The picture below shows the area. Now given all the intersectant points shows in the picture, can you tell Ignatius the area of the land?
Note: The point P1 in the picture is the vertex of the parabola.
输入数据
输出数据
For each test case, you should output the area of the land, the result should be rounded to 2 decimal places.
样例输入
复制
2
5.000000 5.000000
0.000000 0.000000
10.000000 0.000000
10.000000 10.000000
1.000000 1.000000
14.000000 8.222222
样例输出
$ Mathjax font initiator $