baekjoon 20251230
This commit is contained in:
parent
60f343066c
commit
2a8d73edc8
7
code_study/Baekjoon/python/5575.py
Normal file
7
code_study/Baekjoon/python/5575.py
Normal 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)
|
||||
Loading…
x
Reference in New Issue
Block a user