Run ID:67073
提交时间:2024-03-13 20:55:49
n = int(input()) a = list(map(int,input().split())) ma = ma(a) mi = mi(a) print(ma-mi)