Run ID:67072

提交时间:2024-03-13 20:54:38

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