随笔分类 - Atcoder
AtCoder Beginner Contest 254 - E - Small d and k 题解
摘要:有个显著特点,每个点的度数不超过3,我们要考虑的点到 的距离不超过3。
于是乎对于每个 ,需要计算的点的个数不超过个
所以我们可以放心大胆地对每个点进行或
AtCoder Regular Contest 141 - B - Increasing Prefix XOR
摘要:原文 Consider the problem in binary. If positive integers and have the same number of digits, the only case when both and \(b < b\op