Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86521 汤弘毅 最大值与最小值的差 Python3 Accepted 40 MS 3764 KB 74 2024-07-25 21:28:30

Tests(10/10):


Code:

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