题目链接 题目为某次雅礼集训... 对于\(\max\{a-A_i,\ A_i-a,\ b-B_i,\ B_i-b\}\),令\(x_1=\frac{a+b}{2},\ y_1=\frac{a-b}{2},\ x_2=\frac{A_i+B_i}{2},\ y_2=\frac{A_i-B_i}{2}\),那么\(\max\)就可以写成\(\max\{x_1-x_2+y_1-y_2,\ -(x_1-x_2)-(y_1-y_2),\ x_1-x_2-(y_1-y_2),\ -(x_1-x_2)+y_…