Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143595 丁俊杰 最大值与最小值的差 Python3 Accepted 34 MS 3772 KB 131 2026-01-17 10:22:23

Tests(10/10):


Code:

n=int(input()) a=list(map(int,input().split())) da=max(a) #max:最大值函数 xiao=min(a) #min:最小值函数 print(da-xiao)