Run ID:134207
提交时间:2025-10-26 08:59:41
n=int(input()) a=list(map(int,input().split())) s=10**8 for i in range(n): for j in range(n): if i!=j: d=abs(a[i]-a[j]) if d<s: s=d print(s)