백준문제/브론즈 5
백준) 2525번 - python
kiseno
2024. 2. 11. 06:16
728x90
반응형
SMALL
a,b = map(int, input().split(" "))
c = int(input())
if b+c<60:
print(a,b+c)
else:
d = a + ((b+c)//60)
e = (b + c) % 60
if d >= 24:
print(d-24,e)
else:
print(d,e)
728x90
반응형
LIST