int maximum(int a, int b){ return (int)((fabs((long)b - (long)a) + a + b) / 2); }
【leetcode】最大数值
原文:https://www.cnblogs.com/ganxiang/p/13698687.html