跳转至

位运算

  • 求n的第k位数字: n >> k & 1
  • 返回n的最后一位1:lowbit(n) = n & -n

评论