华为机试:给定10个整数,从中任选出三个数,带入X*X+X*Y-Y*Y+Z,求出最小值。python示例上用的是a.split()输入求大佬看看我的代码有啥错误import sys for line in sys.stdin: a = line.split()for i in range(10): list1[i]=int(a[i])t=0list2=[None]*720for i in range(10): for j in range(10): for k in range(10): if i!=j and i!=k and j!=k: list2[t]=list1[i]*list1[i]+list1[i]*list1[j]-list1[j]*list1[j]+list1[k] t=t+1#找出最小数t=list2[0]for i in range(720): if list2[i] t=list2[i]print(t)