The Description is very simple.There are n ( n < 100 ) convex polygon ,please tell me the intersection area of n convex polygon.Each convex polygon at most have 10 points.
There are multiple test cases.The first line contain a integer t( t < = 10 ), indicate t cases.For each case,the first line contain a integer n,indicate n convex polygon,then next n lines contain the information of the n convex polygon.Each line contain a integer m,indicate the num of point of the convex polygon. Then give you m points by anticlockwise.
For each case,print the intersection area of n convex polygon.( accurate up to 1 decimal place)