Baekjoon Case

[파이썬 / 백준 2869번] 달팽이는 올라가고 싶다

Scarlett_C 2021. 11. 16. 11:23
728x90

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

728x90
A,B,V=map(int,input().split())
C=(V-B)/(A-B)
if C==int(C):
    print(int(C))
else : print(int(C)+1)
728x90