Run ID:67067

提交时间:2024-03-13 20:47:15

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