int lowbit(int x)
{
    return x & (-x);
}
//返回最低位1的的位置的2^k,例如lowbit(8) = 2^3 == 8, lowbit(16) = 2 ^ 4 == 16
最后修改:2023 年 01 月 31 日
如果觉得我的文章对你有用,请随意赞赏