← Back to List

24313번: 알고리즘 수업 - 점근적 표기 1 ↗

Solutions

Python 3
133 B | 133 chars
a, b = map(int, input().split())
c = int(input())
n = int(input())

print(int((c - a) * n >= b) and int((c - a) * (n + 10000) >= b))