摘要: 判断一个数字的最高位 int getMaxbitIndex(int m){ int count=0; while(m>0){ m=(m>>1); count++; } return count; } 将数字m的第i位设为1 void set_i(int m,int i){return result| 阅读全文
posted @ 2020-12-03 18:56 giaoxiao 阅读(89) 评论(0) 推荐(0) 编辑