Programming/Python & Data Structures
[Baekjoon/Python3] 1712번 손익분기점
HooNeee
2020. 12. 3. 01:02
[Baekjoon/Python3] 1712번 손익분기점
1712번: 손익분기점
월드전자는 노트북을 제조하고 판매하는 회사이다. 노트북 판매 대수에 상관없이 매년 임대료, 재산세, 보험료, 급여 등 A만원의 고정 비용이 들며, 한 대의 노트북을 생산하는 데에는 재료비와
www.acmicpc.net
import sys
a, b, c = map(int, sys.stdin.readline().split())
if b >= c:
sys.stdout.write(str(-1))
else:
sys.stdout.write(str(a // (c - b) + 1))