Run ID:87161
提交时间:2024-08-04 14:23:16
d = int(input()) a = list(map(int, input().split())) b = max(a) c = min(a) print(b-c)