异或运算符
public static int GetSum(int a, int b)
{
return b == 0 ? a : GetSum(a ^ b, (a & b) << 1);
}
异或运算符
public static int GetSum(int a, int b)
{
return b == 0 ? a : GetSum(a ^ b, (a & b) << 1);
}