-->
当前位置:首页 > 题库

PROGRAMMING:I love sleeping

Luz5年前 (2021-05-10)题库421
After electrotherapy, $$LC $$trains late into the night, gets up at the time of $$HH: mm $$, and has a total rest of $$t $$minutes. What time does $$LC $$train (assuming that $$LC $$goes to bed immediately after training).
Note that all hours are $$24 $$hours.
###Input format:
In one line, give three positive integers $$HH, mm, t (0 < = HH < = 23,0 < = mm < = 59,1 < = T < 1440) $$.
###Output format:
Outputting $$HH: mm $$in one line means that $$LC $$ends the training at the time of $$HH: mm $$.
Note that both hours and minutes should be output in two digits. For example, at 1:01, please output $$01:01$$
###Input example:
```in
08 00 600
```
###Output example:
```out
22:00
```







answer:If there is no answer, please comment