Run ID:67074

提交时间:2024-03-13 20:57:44

n = int(input()) a = list(map(int,input().split())) ma = max(a) mi = min(a) print(ma-mi)