5575번 풀이 [Python]

sua·2022년 5월 25일
0

Baekjoon

목록 보기
35/161
post-thumbnail

문제


풀이

for i in range(3):
    a, b, c, d, e, f = map(int, input().split())
    n = (d * 3600 + e * 60 + f) - (a * 3600 + b * 60 + c)
    print((n // 3600), (n % 3600) // 60, (n % 3600) % 60)
profile
가보자고

0개의 댓글