⌨️

[AtCoder]ABC-178|B - Product Max

2023/03/22に公開

設問ページ

提出結果

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


def main():
    a, b, c, d = getIntMap()

    print(max(max(a * c, a * d), max(b * c, b * d)))


if __name__ == "__main__":
    main()

Discussion