We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
求区间的异或和,可以转化为前缀异或和的异或。即xor[i:j] = pre_xor[j] ^ pre_xor[i-1].
xor[i:j] = pre_xor[j] ^ pre_xor[i-1]