不用if、switch、?: 实现a、b比较大小

int max = (a + b + abs(a - b)) / 2;

分析:
if a > b, max = (a + b + a - b) / 2 = a
if b > a, max = (a + b + b - a) / 2 = b