In [this](https://codeforces.net/contest/1847/problem/C) problem. 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