본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 8661번 Stopki

by 현장 2023. 4. 6.

-Code

x, k, a = map(int, input().split())

print(1 if x % (k + a) < k else 0)