Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134213 赵乘浩 两个数的最小距离 Python3 Wrong Answer 157 MS 3828 KB 205 2025-10-26 09:04:19

Tests(8/15):


Code:

n=int(input()) a=list(map(int,input().split())) s=10**8 for i in range(n): for j in range(i+1,n): if i!=j: d=abs(a[i]-a[j]) if d<s: s=d print(s)


Run Info:

------Input------
2 -2147483648 2147483647
------Answer-----
4294967295
------Your output-----
100000000