Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = list(map(int,input().split()))
- c = 1 ###空いてる口の数
- cnt = 0
- ###s[0]==入力A、s[1]==入力B
- while s[1] > c:
- c = c + s[0] - 1 ###空き口数+追加口数-1
- cnt = cnt + 1 ###カウント
- print(cnt)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement