백준 24079번: 移動 (Moving) #Python

ColorlessDia·2024년 2월 22일

algorithm/baekjoon

목록 보기
93/807
x = int(input())
y = int(input())
z = int(input())

move_time = (x + y) * 60
limit_time = (z * 60) + 30

if move_time < limit_time:
    print(1)
else:
    print(0)

0개의 댓글