Skip to content

Baekjoon 15969

1. Problem

문제 확인하기

2. Solution

N = input()
lst = list(map(int,input().split()))
print(max(lst)-min(lst))