Submission #990328

#TimeUsernameProblemLanguageResultExecution timeMemory
990328alex_2008XOR Sum (info1cup17_xorsum)C++14
0 / 100
132 ms348 KiB
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int ans = 0; for (int i = 1; i <= n; i++) { int x; cin >> x; ans ^= (2 * x); } cout << ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...