백준 1712 (파이썬)

김덕현·2021년 7월 3일
1

BAEKJOON

목록 보기
51/62

1.문제

https://www.acmicpc.net/problem/1712

2.코드

a,b,c = map(int,input().split())
if c-b<=0:
    print(-1)
else : print(int(a/(c-b))+1)

3.코드해설

profile
BAEKJOON STUDYING

0개의 댓글