# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

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 begins with an integer **T** (0 < T ≤ 10000). Each of the next **T** line contains an integer **A** (0 < A ≤ 1000) representing the side length of the hexagon.

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

Input | Output |
---|---|

2 1 3 | 2.59807 23.38268 |

95% Solution Ratio

EWU_U2Earliest,

Cloud_ddFastest, 0.0s

m_ronyLightest, 131 kB

aNkanpy.pritomShortest, 58B

Login to submit