异或相关问题
异或运算:每一位分别看,相同就是0,不同就是1
左移运算,右移运算,当有这样运算的时候, sum = sum << 1 + 1, 一定别忘了括号sum = (sum << 1) + 1,+优先级高
[(https://www.acwing.com/problem/content/description/145/)]
最大异或对
Trie树\
最大异或和(有区间限制)
[(https://www.acwing.com/activity/content/problem/content/3983/1/)]
221场周赛最后一题
https://www.acwing.com/activity/content/problem/content/3354/2/
https://leetcode.com/problems/maximum-xor-with-an-element-from-array/