未验证 提交 f0332aa4 编写于 作者: J Jody Zhou 提交者: GitHub

Update 常用的位操作.md

上级 31488adb
......@@ -176,8 +176,7 @@ http://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel
[JodyZ0203](https://github.com/JodyZ0203)提供 191. 位1的个数 Python3 解法代码:
'''Python
```Python3
class Solution:
def hammingWeight(self, n: int) -> int:
......@@ -194,5 +193,4 @@ class Solution:
# 当二进制串全消除完之后,返回1出现的总数量
return count
'''
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册