public static double Pro1_4_17(double[] a){
double[] temp = a.clone();
for(int i=0;i<temp.length;i++)
if(temp[i]<0) temp[i]=-temp[i];
Arrays.sort(temp);
return temp[temp.length-1] - temp[0];
} 算法 1.4.17
最新推荐文章于 2020-02-29 22:34:13 发布
public static double Pro1_4_17(double[] a){
double[] temp = a.clone();
for(int i=0;i<temp.length;i++)
if(temp[i]<0) temp[i]=-temp[i];
Arrays.sort(temp);
return temp[temp.length-1] - temp[0];
} 
被折叠的 条评论
为什么被折叠?