Editorial for Mock CCC '24 Contest 1 J1 - Lemon Bathtub
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Author:
This problem requires us to find the number of minutes it will take us to fill a bathtub of litres using a hose which is capable of dispensing litres per minute. We can input and , and divide by directly, as it is guaranteed that divides .
Time Complexity:
Comments