Python/백준

백준 - 1712 손익분기점

sophia02 2022. 9. 26. 20:49
a, b, c = map(int, input().split())
if b >= c:
    print(-1)
else:
    print(a//(c-b)+1)