a1, a0 = map(int, input().split())
c = int(input())
n0 = int(input())
if (a1 * n0 + a0) <= c * n0 and a1 <= c:
print(1)
else:
print(0)
https://www.acmicpc.net/problem/24313
'study > Algorithm' 카테고리의 다른 글
[백준] 파이썬 25192번: 인사성 밝은 곰곰이 (0) | 2024.03.30 |
---|---|
[백준] 파이썬 15650 : N과 M (2) (0) | 2024.03.30 |
[백준] 파이썬 15649 : N과 M (1) (0) | 2024.03.30 |
[백준] 파이썬 10816 : 숫자 카드 2 (0) | 2024.03.30 |
[백준] 파이썬 24267 : 알고리즘의 수행시간 6 (0) | 2024.03.30 |