有一种东西是计算机易于理解 但人难以李姐的
取反(~)改变符号位 取反保持正负性需加负号 ~-a or -~a
a ^ a = 0
a ^ 0 = a
a ^ -1 = ~a
交换a,b的值: a ^= b ^= a ^= b