⌨️

[AtCoder]ABC-121|A - White Cells

2023/02/08に公開

設問ページ

提出結果

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


def main():
    h, w = getIntMap()
    x, y = getIntMap()

    print((h - x) * (w - y))


if __name__ == "__main__":
    main()

Discussion