diff --git "a/\347\256\227\346\263\225\346\200\235\347\273\264\347\263\273\345\210\227/\345\270\270\347\224\250\347\232\204\344\275\215\346\223\215\344\275\234.md" "b/\347\256\227\346\263\225\346\200\235\347\273\264\347\263\273\345\210\227/\345\270\270\347\224\250\347\232\204\344\275\215\346\223\215\344\275\234.md" index f056558866c39185129b5026bc6a0725bfd5e164..ebcde785d87c791603e8e6fb20b8de41272404cc 100644 --- "a/\347\256\227\346\263\225\346\200\235\347\273\264\347\263\273\345\210\227/\345\270\270\347\224\250\347\232\204\344\275\215\346\223\215\344\275\234.md" +++ "b/\347\256\227\346\263\225\346\200\235\347\273\264\347\263\273\345\210\227/\345\270\270\347\224\250\347\232\204\344\275\215\346\223\215\344\275\234.md" @@ -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 - -''' + ```