A. Bit++ 模拟. B. Painting Eggs 贪心,每个物品给使差值较小的那个人,根据题目的约数条件,可证明贪心的正确性. C. XOR and OR \(,,00 \to 00,01 \to 11,11 \to 01\) 根据上述转换,只要至少存在一个1,则可以得到任意个数(不包括0)的1.全0时只能变成全0. 那么判断a.b两种情况即可. D. Yet Another Number Game 当没有全减操作时,即相当于一个Nim游戏. 当n=1时,直接判断 \(a_1\) 是否…