반응형
# @Author YoungMinKim
# baekjoon
from math import gcd
import sys
N = int(sys.stdin.readline())
f = list(sys.stdin.readline().split())
ls = sorted(list(map(int,f)))
print(ls[0]*ls[-1])
반응형
'백준 문제풀이' 카테고리의 다른 글
baekjoon - python - 10886 (0) | 2020.09.17 |
---|---|
baekjoon - python - 11653 (0) | 2020.09.16 |
baekjoon - python - 5086 (0) | 2020.09.16 |
baekjoon - python - 15894 (0) | 2020.09.14 |
baekjoon - python - 15890 (0) | 2020.09.14 |
댓글