Pakna And His Polygon

jackal_1586 BRACU Batch 7 Individual...
Limits 1s, 512 MB

Pakna in a wise man. He loves solving problems but always end up with more problems. This is obvious as he is best at Paknami. One day he found an interesting problem. Given the side length of a regular hexagon. You have to calculate the area of that hexagon. A regular hexagon means all sides are equal and all angles are equal. As he is Pakna, he messed up again. Now he asks for your help.

Input

Input begins with an integer TT (0<T100000 < T ≤ 10000). Each of the next TT line contains an integer AA (0<A10000 < A ≤ 1000) representing the side length of the hexagon.

Output

For each case print the area of the hexagon. Errors less than 10410^{-4} will be ignored.

Sample

InputOutput
2
1 
3
2.59807
23.38268

Submit

Login to submit.

Statistics

95% Solution Ratio
EWU_U2Earliest, Jun '16
samdani333Fastest, 0.0s
samdani333Lightest, 5.4 kB
aNkanpy.pritomShortest, 58B
Toph uses cookies. By continuing you agree to our Cookie Policy.