t = int(input()) for i in range(t): r = int(input()) print(r*r*3**1.5/4)