728x90
반응형

단순 사칙연산 문제이다.

A, B = map(int, input().split())
C = int(input())
t = A*60 + B + C
h = t//60 % 24
m = t%60
print(h, m)
728x90
반응형

+ Recent posts