Module range_xor

Source
Expand description

区間XORの総和

Functions§

sum_of_sum_of_range_xor
区間XORの総和 $\sum_{i = 1}^N \sum_{j = i}^N a_i \oplus a_{i+1} \oplus \dots \oplus a_j$