KTU Programming Camp (Day 5) |
---|
Finished |
You're given an array a with n elements.
Compute the xor sum of the elements that appear an odd number of times in the array a.
The first line contains number n (1 ≤ n ≤ 3000000). The second line of the input contains n numbers, representing the array a. All elements of a are between 0 and 109
The only line of the output contains the answer of the problem.
5
4 4 3 3 4
4
Name |
---|