1. #Dimikoj Accept

  2. import math
  3. T = int(input())
  4. for i in range(T):
  5. a,b,c = map(int, input().split())
  6. if (a+b>=c and b+c>=a and c+a>= b):
  7. s = (a + b + c)/2
  8. area = math.sqrt(s*(s-a)*(s-b)*(s-c))
  9. print("%.2f"%area)
  10. else:
  11. print("Oh, No!")