mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -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."
|
||||
|
Reference in New Issue
Block a user