728x90
반응형
단순 사칙연산 문제이다.
N, M = map(int, input().split())
h = max(map(int, input().split()))
a = max(map(int, input().split()))
print(h+a)
728x90
반응형
'Agorithm > 백준 알고리즘' 카테고리의 다른 글
백준 알고리즘 15792번 A/B - 2(python) (0) | 2021.02.27 |
---|---|
백준 알고리즘 15784번 질투진서(python) (0) | 2021.02.27 |
백준 알고리즘 15780번 멀티탭 충분하니?(python) (0) | 2021.02.27 |
백준 알고리즘 15734번 명장 남정훈(python) (0) | 2021.02.27 |
백준 알고리즘 15667번 2018 연세대학교 프로그래밍 경진대회(python) (0) | 2021.02.27 |