⌨️

[AtCoder]ABC-373|C - Max Ai+Bj

2024/10/07に公開

設問ページ

提出結果

def getInt():
    return int(input())


def getIntList():
    return list(map(int, input().split()))


def main():
    N = getInt()
    A = getIntList()
    B = getIntList()

    print(max(A) + max(B))


if __name__ == "__main__":
    main()

Discussion