摘要: 转自:http://blog.csdn.net/xsloop/article/details/47006241 一共五中运算: 与,或,异或,左移,右移 常用技巧: (1)n & (n-1)能够消灭n中最右侧的一个1。 (2) 右移:除以2, 左移:乘以2。 (3)异或性质:交换律,0^a=a, a 阅读全文
posted @ 2016-10-25 08:39 morningdew 阅读(139) 评论(0) 推荐(0) 编辑