본문 바로가기
python-algorithm

[백준] 10818

by 무적김두칠 2020. 12. 28.

1
2
3
4
5
N=int(input())
a=list(map(int,input().split()))
 
a.sort()
print("%d %d"%(a[0],a[-1]))
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 10833  (0) 2020.12.28
[백준] 10824  (0) 2020.12.28
[백준] 10817  (0) 2020.12.28
[백준] 10599  (0) 2020.12.28
[백준] 10569  (0) 2020.12.28

댓글