본문 바로가기
백준문제/브론즈 5

백준) 10818번 - python

by kiseno 2024. 2. 27.
728x90
반응형
SMALL
n = int(input())
a = list(map(int, input().split()))
a.sort()

min,max = a[0], a[n-1]

print(min, max)
728x90
반응형
LIST

'백준문제 > 브론즈 5' 카테고리의 다른 글

백준) 14645번 - python  (0) 2024.02.29
백준) 11021번 - python  (0) 2024.02.28
백준)10817번 - python  (0) 2024.02.26
백준) 8393번 - python  (0) 2024.02.25
백준) 7891번 - python  (0) 2024.02.24