⌨️

[AtCoder]ABC-153|A - Serval vs Monster

2023/03/02に公開

設問ページ

提出結果

def getIntMap():
    return map(int, input().split())


def main():
    h, a = getIntMap()

    c = 0
    while h > 0:
        h -= a
        c += 1
    print(c)


if __name__ == "__main__":
    main()

Discussion