백준 2869번

yoonene·2021년 12월 17일
0

알고리즘

목록 보기
9/62

2869. 달팽이는 올라가고 싶다

python3

from math import ceil

A, B, V = map(int, input().split())

d = (V-B)/(A-B)
print(ceil(d))

* ceil(): 올림

profile
NLP Researcher / Information Retrieval / Search

0개의 댓글