int x1 = data[N/2], x2 = data[N/2+1]; if((x1 ^ x2) & 1) //如果参与计算的两个参数奇偶性互异,会出小数 { mid = (x1 + x2) / 2.0; //printf("%d %.1lf %d", max, mid, min); //C标准输入输出写法 cout<<max<<" "<<round(mid*10)/10.0<<" "<<min<<endl; //C++输...