def answer(): r = int(input()) print((r**2)*(3/4)*3**(1/2)) for _ in range(int(input())): answer()