You went to an exciting adventure in a deep jungle but sadly a giant captured you. The giant said that, if you can solve a simple problem it will let you go. It will give you the lengths of the three sides of a triangle. All you have to do is calculate the area of the triangle.
If the three sides of a triangle are a, b and c. Then:
The first line of the input will contain an integer N. Then N lines will follow. Each of the lines will have three integers a, b and c.
For each test case print the area of the triangle. Two decimal digit will suffice. If the three sides don't form a triangle print "Oh, No!".
2 8 6 10 3 4 5
Login to submit