Baekjoon Case

[파이썬 / 백준 1712번] 손익분기점

Scarlett_C 2021. 11. 14. 15:23
728x90

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

fix,flex,price=map(int,input().split())
if price>flex:
    i=int(fix/(price-flex))+1
    print(i)
else: print(-1)
728x90