摘要: 3329: Xorequ https://www.lydsy.com/JudgeOnline/problem.php?id=3329 分析: 因为a+b = a^b + ((a&b)<<1) 所以(x&(2x))<<1是0,就是没有相邻的1。然后计算多少x满足没有相邻的1。 第一问:数位dp一下,d 阅读全文
posted @ 2018-10-07 09:27 MJT12044 阅读(168) 评论(0) 推荐(0) 编辑