and height and drawn the two diagonals of the rectangle, forming four small triangles. He wishes to know the area of one of these triangles in the figure he has drawn.
is drawing a logo for the next iteration of the KAIST contest. He has gotten lazy, so he has taken a rectangle of lengthConstraints
In tests worth 14 marks, .
Input Specification
The input will consist of two positive integers, and , on the first line and on the second.
Output Specification
Output, on a single line, the area of one of the given triangles. The area must be printed with exactly two digits after the decimal point.
Sample Input
2
2
Sample Output
1.00
Comments
for the later ones : USE LONG (java)
Can anyone (who's finished this question) tell me what's wrong with my code? I keep test case 2 of batch 2 wrong.
This comment is hidden due to too much negative feedback. Show it anyway.
I don't think the intended solution uses long doubles, but I am not sure.
No, the intended solution does not use long doubles.