1
2
3
|
n=int(input())
s=list(map(int, input().split()))
print(max(s)-min(s))
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 16462 (0) | 2021.01.18 |
---|---|
[백준] 16396 (0) | 2021.01.18 |
[백준] 15829 (0) | 2021.01.15 |
[백준] 15819 (0) | 2021.01.15 |
[백준] 15814 (0) | 2021.01.15 |
댓글