LL bought a big cake on his birthday, which was circle looked from above. HH found it and cut the cake into pieces secretly using a big knife. Each cut was a straight line through the cake. Since HH cut it irregularly, the cake was cut into a mess. Of course at last LL found it and got angry, so he decided to discuss with HH.LL :"I planed to share it with you at the beginning, but now you can only eat one piece."HH :"OK... I will choose the largest piece..."Please help HH to choose the largest one.

The first line of input contains one integer specifying the number of test cases to follow. Each test case begins with a line containing one integer *N* (1 ≤ *N* ≤ 100), the number of cut HH performed. Following N lines each contains two numbers describe the ith cut as following:Suppose the origin is at the center of the cake. Each cut intersects the cake at two points. The polar angles of the two intersections are the given two numbers. They are in range [-π, π).Note: No three cut intersects at one point. Any two cut are distinct. The cake has radius 10.0.

For each test case, output a line containing one number - the area of the largest piece rounded to hundreds.

提交代码