若x != y,则:
x = x ^ y ^ x;
void inplace_swap(int *x,int *y){ *y = *x ^ *y; *x = *x ^ *y; *y = *x ^ *y; }