Hello, I have trying for a while to understand the solution ofsolve this problem called Xor Sum [the problem] (https://atcoder.jp/contests/abc050/tasks/arc066_b) but i can't understand it after trying for a while i know that ↵
a+b=2*(a&b) + u ===> (u=a^b) so v=a+b >= u . But still can't figure what should i do next so i will be glad if you give some kind of hint. thanks in front.
a+b=2*(a&b) + u ===> (u=a^b) so v=a+b >= u . But still can't figure what should i do next so i will be glad if you give some kind of hint. thanks in front.