本文共 134 字,大约阅读时间需要 1 分钟。
int judge(int a){
return ((a&(a-1))==0);
}
比如100000&(011111)==0.
转载于:https://www.cnblogs.com/gaoqichao/archive/2012/10/24/2736627.html