본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 27272번 Пары

by 현장 2023. 4. 7.

-Code

nums = sorted(list(map(int, input().split())))

print((nums[0] * nums[1]) + (nums[2] * nums[3]))