update chapter2 homework
This commit is contained in:
parent
f0b5d5bc1e
commit
67f28f78cd
@ -4,8 +4,6 @@
|
||||
我们将这样的思路称为“折半递归法”。
|
||||
|
||||
## 2.66
|
||||
第一次操作,我们令 `x = x | (x >> 1)`,这样 $x$ 的最高位所在 `1` 连续段长度必然不小于 2。
|
||||
|
||||
第 $k$ 次操作,令 `x = x | (x >> (1 << (k - 1)))`。通过 5 次操作即可实现提示中的转换。
|
||||
|
||||
## 2.75
|
||||
|
Loading…
x
Reference in New Issue
Block a user