Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
153474 王一诺 最大值与最小值的差 Python3 Accepted 43 MS 3760 KB 87 2026-05-17 15:40:56

Tests(10/10):


Code:

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