t = int(input()) lsr = [int(input()) for i in range(t)] for i in range(t): print(3/4*3**(1/2)*lsr[i]**2)