Need Help in understanding problem from Atcoder Xor Sum

Revision en3, by nothihng, 2024-03-30 00:18:32

Hello, I have trying for a while to solve this problem called Xor Sum the problem 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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English nothihng 2024-03-30 00:19:27 39
en3 English nothihng 2024-03-30 00:18:32 25 Tiny change: ' while to understand the solution of this prob' -> ' while to solve this prob'
en2 English nothihng 2024-03-30 00:14:05 5 Tiny change: '=a+b >= u but still c' -> '=a+b >= u . But still c'
en1 English nothihng 2024-03-30 00:13:26 431 Initial revision (published)