https://www.acmicpc.net/problem/10818
풀이
x = int(input())
a = list(map(int, input().split()))
print(min(a), max(a))
'Python > Baekjoon' 카테고리의 다른 글
백준 3052번 : 나머지 (0) | 2022.10.06 |
---|---|
백준 2562번 : 최댓값 (0) | 2022.10.06 |
백준 1110번 : 더하기 사이클 (0) | 2022.10.06 |
백준 10951번 : A+B - 4 (0) | 2022.10.06 |
백준 10952번 : A+B - 5 (0) | 2022.10.06 |