본문 바로가기
알고리즘/백준

백준-1712번(손익분기점)-python

by nyeongha 2023. 11. 24.
a,b,c=map(int,input().split())
x=1
if b-c<0:
    print(a//(c-b)+1)
else:
    print(-1)