2.a&b+a^b=a|b;
3.若a^b=c,则a=c^b;b=a^c;
4.有3可推导出a[i]^a[i+1]^...^a[j]=sum[i-1]^sum[j](sum[i]为a[]的前i的数的异或和);
5.a>>1=a/2;a<<1=a*2;
6.啦啦啦啦啦啦,这些都是最简单最基本的,以后碰到了再来慢慢更新~~~;