0 赞
你说的对,但是奶龙怎么你了
考虑异或操作: xoplus y∈[y-x,y+x] 再考虑 xoplus y 是 y 的因子: 1、xoplus y=a 本题范围中显然不可能。 2、k× (xoplus y)= y k 至少为 2,得到 xoplus y ≤ y/2。 所以至少要满足 y-x≤ y/2。 得到…
题解
存档题解 2 篇按获赞排序
在洛谷打开考虑异或操作: xoplus y∈[y-x,y+x] 再考虑 xoplus y 是 y 的因子: 1、xoplus y=a 本题范围中显然不可能。 2、k× (xoplus y)= y k 至少为 2,得到 xoplus y ≤ y/2。 所以至少要满足 y-x≤ y/2。 得到…