Run ID:153474
提交时间:2026-05-17 15:40:56
n = int(input()) a = list( map(int, input().split())) print( max(a) - min(a) )