mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 06:51:41 +08:00
update
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"4.5K\", \"totalSubmission\": \"9.7K\", \"totalAcceptedRaw\": 4512, \"totalSubmissionRaw\": 9736, \"acRate\": \"46.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"4.5K\", \"totalSubmission\": \"9.8K\", \"totalAcceptedRaw\": 4520, \"totalSubmissionRaw\": 9752, \"acRate\": \"46.3%\"}",
|
||||
"hints": [
|
||||
"Let's note that we can count all pairs with XOR ≤ K, so the answer would be to subtract the number of pairs withs XOR < low from the number of pairs with XOR ≤ high.",
|
||||
"For each value, find out the number of values when you XOR it with the result is ≤ K using a trie."
|
||||
|
Reference in New Issue
Block a user