Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85610 丁俊杰 最大值与最小值的差 Python3 Accepted 37 MS 3756 KB 77 2024-07-18 22:53:53

Tests(10/10):


Code:

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