树位专题

C - Xenia and Bit Operations CodeForces - 339D(线段树位运算)

Xenia the beginner programmer has a sequence a, consisting of 2n non-negative integers: a1, a2, …, a2n. Xenia is currently studying bit operations. To better understand how they work, Xenia decided to