baekjoon 20251230

This commit is contained in:
songyc macbook 2025-12-30 23:16:11 +09:00
parent 60f343066c
commit 2a8d73edc8

View File

@ -0,0 +1,7 @@
for _ in range(3) :
h, m, s = (lambda x : (x[3] - x[0], x[4] - x[1], x[5] - x[2]))(list(map(int, input().split())))
if s < 0 :
m, s = m-1, 60+s
if m < 0 :
h, m = h-1, 60+m
print(h, m ,s)