알고리즘/백준

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

nyeongha 2023. 11. 24. 15:26
a,b,c=map(int,input().split())
x=1
if b-c<0:
    print(a//(c-b)+1)
else:
    print(-1)
저작자표시 비영리 변경금지 (새창열림)