Typing a time on a microwave costs 1 per key press and 2 per finger move. Find the cheapest input whose cooking time is within 10% of the target.
Typing a time on a microwave costs 1 per key press and 2 per finger move. Find the cheapest input whose cooking time is within 10% of the target.
Opens with the full question.