t = int(input()) for i in range(t): #円に内接する三角形の面積の最大は正三角形のとき r = int(input('円の半径')) #三角形の面積 s = (3**0.5)*3/4*(r**2) print(s)