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

@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"8.4K\", \"totalSubmission\": \"17.2K\", \"totalAcceptedRaw\": 8352, \"totalSubmissionRaw\": 17243, \"acRate\": \"48.4%\"}",
"stats": "{\"totalAccepted\": \"8.4K\", \"totalSubmission\": \"17.2K\", \"totalAcceptedRaw\": 8354, \"totalSubmissionRaw\": 17245, \"acRate\": \"48.4%\"}",
"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."