Skip to content

Latest commit

 

History

History
 
 

1310.XOR-Queries-of-a-Subarray

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

1310.XOR-Queries-of-a-Subarray

求区间的异或和,可以转化为前缀异或和的异或。即xor[i:j] = pre_xor[j] ^ pre_xor[i-1].