Run ID:129643
提交时间:2025-08-31 10:58:45
m = int(input()) a = input().split() a = [int(x) for x in a] ma = max(a) i = min(a) print(ma-i)