[백준] 1712번 손익분기점

SongKS·2020년 7월 1일
0

백준 알고리즘

목록 보기
1/7
post-thumbnail

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

코드 첨부

A, B, C = map(int, input().split())
if B >= C:
    result = -1
else:
    result = int((A/(C-B))+1)
print(result)
profile
백엔드와 프론트, DevOps 사이에 표류하는 개발자

0개의 댓글