⌨️
[AtCoder]ABC-121|A - White Cells
設問ページ
提出結果
def getIntMap():
return map(int, input().split())
def main():
h, w = getIntMap()
x, y = getIntMap()
print((h - x) * (w - y))
if __name__ == "__main__":
main()
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