File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
solution/0200-0299/0216.Combination Sum III Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -712,14 +712,15 @@ function bitCount(i) {
712
712
```
713
713
714
714
function bitCount(i: number): number {
715
- i = i - ((i >>> 1) & 0x55555555);
716
- i = (i & 0x33333333) + ((i >>> 2) & 0x33333333);
717
- i = (i + (i >>> 4)) & 0x0f0f0f0f;
718
- i = i + (i >>> 8);
719
- i = i + (i >>> 16);
720
- return i & 0x3f;
715
+ i = i - ((i >>> 1) & 0x55555555);
716
+ i = (i & 0x33333333) + ((i >>> 2) & 0x33333333);
717
+ i = (i + (i >>> 4)) & 0x0f0f0f0f;
718
+ i = i + (i >>> 8);
719
+ i = i + (i >>> 16);
720
+ return i & 0x3f;
721
721
}
722
- ```
722
+
723
+ ````
723
724
724
725
#### C#
725
726
@@ -754,7 +755,7 @@ public class Solution {
754
755
return cnt;
755
756
}
756
757
}
757
- ```
758
+ ````
758
759
759
760
<!-- tabs: end -->
760
761
You can’t perform that action at this time.
0 commit comments