The provided document does not contain any code fragments. Therefore, the text is returned exactly as-is:
Task. Four pipes can fill a reservoir in 15, 20, 30 and 60 hours respectively. The first one was opened at 6 AM, second at 7 AM, third at 8 AM and the fourth at 9 AM. When will the reservoir be filled?
Solution. The first pipe can fill reservoir in 15 hours. This means that it fills of reservoir in one hour.
Similarly, the second, third and fourth pipes fill , and of reservoir in one hour respectively.
Let be the number of hours spent by first pipe. The second pipe opened at 7 AM, i.e. one hour later, therefore it worked hours.
Similarly, the third and fourth pipes worked and hours respectively.
Together all pipes fill the whole reservoir, so we obtain the following equation:
Let us solve it.
Answer. 7 hours