Category
Similar Problems
0764. The height of the triangle
Time limit : 1000 ms
Memory limit : 64 mb
The area of the triangle is S. The length of its base is a greater than its height. Find the height of the triangle.
Input
Two integers: S (0 < S ≤ 100), and a (|a| ≤ 100).
Output
The height of the triangle with two digits after the decimal point.
№ |
Input |
Output |
1 |
15 1 |
5.00 |
Text from: e-olimp.com