-Code
a_list = list(map(int, input().split()))
b_list = list(map(int, input().split()))
print(sum(a_list + b_list) - 2 * min(max(a_list), max(b_list)))
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 20490번 Relocation (0) | 2025.03.03 |
---|---|
[백준/파이썬] 33538번 Crawling (0) | 2025.03.01 |
[백준/파이썬] 6491번 Perfection (0) | 2025.02.28 |
[백준/파이썬] 5566번 Штурм (0) | 2025.02.27 |
[백준/파이썬] 5566번 주사위 게임 (0) | 2025.02.26 |