1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"37K\", \"totalSubmission\": \"51.9K\", \"totalAcceptedRaw\": 37036, \"totalSubmissionRaw\": 51890, \"acRate\": \"71.4%\"}",
"stats": "{\"totalAccepted\": \"37K\", \"totalSubmission\": \"51.9K\", \"totalAcceptedRaw\": 37038, \"totalSubmissionRaw\": 51892, \"acRate\": \"71.4%\"}",
"hints": [
"Maintain two integer variables, even and odd, to count the number of even and odd indices in the binary representation of integer n.",
"Divide n by 2 while n is positive, and if n modulo 2 is 1, add 1 to its corresponding variable."