lowbit(x) highbit(x)
  • 板块灌水区
  • 楼主MarchKid_Joe
  • 当前回复25
  • 已保存回复25
  • 发布时间2023/3/1 20:33
  • 上次更新2023/10/23 23:24:25
查看原帖
lowbit(x) highbit(x)
239163
MarchKid_Joe楼主2023/3/1 20:33

lowbit(x)\operatorname{lowbit}(x) 的位运算:

lowbit[x] = (+x) & (-x);

除了 for,whilefor,while 循环枚举,highbit(x)\operatorname{highbit}(x) 有没有位运算?

2023/3/1 20:33
加载中...