fork download
  1. // Shaazzz
  2. #include<bits/stdc++.h>
  3. using namespace std;
  4. int main()
  5. {
  6. int n;
  7. scanf("%d", &n);
  8. long long x, xor_sum = 0;
  9. while (n --)
  10. scanf("%I64d", &x), xor_sum ^= x;
  11. return !printf("%lld", xor_sum);
  12. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
94124552521712