[백준] 1712번 : 손익분기점 - Python(파이썬)

강재원·2022년 9월 13일
0

[코딩테스트] Python

목록 보기
28/200



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

a,b,c=map(int,input().split())
n=c-b

if n<=0: print(-1)
else: print(a//n+1)
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글