⌨️[AtCoder]ABC-139|B - Power Socket2023/02/21に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-139 B - Power Socket 提出結果 def getIntMap(): return map(int, input().split()) def main(): a, b = getIntMap() c = 1 i = 0 while c < b: c += a - 1 i += 1 print(i) if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion