We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Dividing by an integer would truncate the value.We want the entire thing, example 2*5/3 gives 3 but we want 3.33 which would ceil to 4
3 would ceil to 3 itself
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Height Triangle
You are viewing a single comment's thread. Return to all comments →
Dividing by an integer would truncate the value.We want the entire thing, example 2*5/3 gives 3 but we want 3.33 which would ceil to 4 3 would ceil to 3 itself