int a = 10; int b = 5; a^=b; b^=a; a^=b; 或 a=a+bb=a-ba=a-b 转载于:https://www.cnblogs.com/wdw31210/p/4013555.html