| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 2048 MB | 85 | 67 | 65 | 78.313% |
Students at the Colorado School Of Mines love to go skiing, but hate waiting in traffic. A student, Sam, has come up with a precise algorithm via machine learning to determine how long it will take to travel to a ski hill:
Note that many of these rules may apply to a single day. Sam would like to use her algorithm to predict how long it will take to travel to the hill. It is up to you to implement Sam's algorithm!
The input consists of six lines; the following list gives the content of each of the lines.
Output the expected time in the format "$h$:$m$" where $h$ is the integer number of hours and $m$ is the integer number of minutes. $m$ must be two digits (i.e. zero-padded on the left). The output should not have more than 59ドル$ minutes. For instance, "1:61" is invalid and should be "2:01" instead.
Keystone 1:00 sat 1 1 0
12:00
Arapahoe Basin 0:45 mon 0 0 1
2:15
School > CS@Mines > CS@Mines HSPC 2019 F번