fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. typedef long long int ll;
  4. int main()
  5. {
  6. ios_base::sync_with_stdio(false);
  7. cin.tie(NULL);
  8. ll i, j, k, t, ip;
  9.  
  10. cin >> t;
  11. while (t--)
  12. {
  13. ll n, p, a, b, c, d, x, y, z, q, r, m;
  14. double d1, d2;
  15. string s;
  16. vector<ll> v;
  17. cin >> n;
  18. x = 0;
  19. for (i = 0; i < n; i++)
  20. {
  21. cin >> ip;
  22. x = x ^ ip;
  23. }
  24. y = 65;
  25. cout << (x ^ y) << "\n";
  26. }
  27. return 0;
  28. }
Success #stdin #stdout 0s 4472KB
stdin
2
4
72 1 8 0
1
0
stdout
0
65