HBC25731小宝和好数XOR题解

凸凸曼凸凸 基本结构 68 0
不断提升技能,才能在职场中立于不败之地!全网最全C++题库,助您成为编程领域的佼佼者。

    Exclusive or is a logical operation that outputs true only when inputs differ(one is true, the other is false). It is symbolized by the infix operators such as XOR, ⊕oplus⊕.     This time, brave QQQ raises a problem to you. Given an interval [l, r], you need to calculate how many numbers x between l and r, where x satisfies x⊕4x⊕5x=0x oplus 4x oplus 5x = 0x⊕4x⊕5x=0.

标签: HBC25731小宝和好数XOR题解