728x90
반응형
단순 사칙연산 문제이다.
K, D, A = map(int, input().split('/'))
print("hasu" if K+A < D or D == 0 else "gosu")
728x90
반응형
'Agorithm > 백준 알고리즘' 카테고리의 다른 글
백준 알고리즘 1247번 부호(python) (0) | 2021.02.10 |
---|---|
백준 알고리즘 20673번 Covid-19(python) (0) | 2021.02.10 |
백준 알고리즘 20215번 Cutting Corners(python) (0) | 2021.02.10 |
백준 알고리즘 20353번 Atrium(python) (0) | 2021.02.10 |
백준 알고리즘 20352번 Circus(python) (0) | 2021.02.09 |