← Back to List
8661번: Stopki ↗
Solutions
Python 3
75 B | 75 chars
x, k, a = map(int,input().split()) z = x % (k+a) print(0 if z >= k else 1)