Practice problem
Step Functions
You're staying at a hotel when you suddenly feel an inexplicable urge to call the Expii office. The hotel charges a flat rate of for the first minutes of a phone call and cents for each additional minute, rounding up.
You only have to spend on a phone call. What is the longest possible call you could make?