Need help in proving: Codeforces Round 882 (Div. 2), C. Vampiric Powers, anyone?

Revision en1, by lucius_fox, 2024-02-24 13:24:33

I'm trying to prove that at the end of the array, you can only achieve xor of any subarray of the original array . I'm unable to do so and the proof given in the editorial is also unclear. Can someone prove it? Thanks

Tags help, proof, bitwise-xor

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English lucius_fox 2024-02-24 13:25:25 66
en1 English lucius_fox 2024-02-24 13:24:33 301 Initial revision (published)