HackerRank - Minimum Height Triangle
Introduction
Given integers b and a, find the smallest integer h, such that there exists a triangle of height h, base b, having an area of at least a.
Example Input Output
# Input:
2 2
# Output:
2
Explanation:
The task is to find the height of the triangle having base