Skip to content

Commit a15a1ae

Browse files
committed
[#9] Feat: Add 달팽이는 올라가고 싶다
1 parent b86117b commit a15a1ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

2869.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 달팽이는 올라가고 싶다
2+
import math
3+
4+
A, B, V = map(int, input().split())
5+
6+
print(math.trunc((V-A-1)/(A-B)+2))

0 commit comments

Comments
 (0)