Submission #463743

# Submission time Handle Problem Language Result Execution time Memory
463743 2021-08-11T16:54:31 Z Hamed5001 Bali Sculptures (APIO15_sculpture) C++14
0 / 100
1 ms 312 KB
#include <bits/stdc++.h>

using namespace std;
typedef long long ll;

void solve() {
	int N, A, B;
	cin >> N >> A >> B;
	int ansXOR= 0;
	for (int i = 0; i < N; ++i) {
		int tmp;
		cin >> tmp;
		ansXOR ^= tmp;
	}

	cout << ansXOR << endl;
}

int main() {

	ios_base::sync_with_stdio(false);
	cin.tie(0);
	solve();
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 204 KB Output is correct
2 Incorrect 0 ms 204 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 204 KB Output is correct
2 Incorrect 1 ms 312 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 204 KB Output is correct
2 Incorrect 1 ms 204 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 204 KB Output is correct
2 Incorrect 0 ms 204 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 204 KB Output is correct
2 Incorrect 1 ms 204 KB Output isn't correct
3 Halted 0 ms 0 KB -