One day the author imagined an analog clock with minute and hour arms. The thought was simple: if we consider the two arms as two sides of a triangle and join the separate ends of the arms for the third side of the triangle, then at different times throughout the day and night, the area of the triangle varies. A natural question then arises, given the lengths of minute and hour arms, what is the maximum area of the triangle?
In this picture, the blue line segments represent minute and hour arms, and the red line segment represents the third side of the triangle.
The first line of the input represents the number of test cases . The following lines each contain two floating point numbers and representing the length of the hour and the minute arms, respectively.
For each case, print the maximum area that can be achieved at some position of the hour and minute arms as described above. Errors less than will be ignored.
1 661.5611881304 354.5250382063