题解 | #小乐乐定闹钟#
小乐乐定闹钟
https://www.nowcoder.com/practice/0f7e422e12be4a7f9958ca2a82abc775
time,minute = input().split(' ') minute = int(minute) tmp = int(time.split(':')[1]) + minute left = int(tmp / 60) + int(time.split(':')[0]) print('%02d:%02d' % (int(left % 24),tmp % 60))