Submission #28719049
Source Code Expand
/**
* author: tourist
* created: 23.01.2022 15:00:42
**/
#include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "algo/debug.h"
#else
#define debug(...) 42
#endif
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
int x = 0;
for (int i = 0; i < 4 * n - 1; i++) {
int y;
cin >> y;
x ^= y;
}
cout << x << '\n';
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - Who is missing? |
| User | tourist |
| Language | C++ (GCC 9.2.1) |
| Score | 200 |
| Code Size | 430 Byte |
| Status | AC |
| Exec Time | 38 ms |
| Memory | 3636 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_00.txt, sample_01.txt, sample_02.txt |
| All | sample_00.txt, sample_01.txt, sample_02.txt, test_00.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| sample_00.txt | AC | 6 ms | 3604 KiB |
| sample_01.txt | AC | 2 ms | 3504 KiB |
| sample_02.txt | AC | 2 ms | 3464 KiB |
| test_00.txt | AC | 36 ms | 3536 KiB |
| test_01.txt | AC | 28 ms | 3524 KiB |
| test_02.txt | AC | 17 ms | 3516 KiB |
| test_03.txt | AC | 38 ms | 3512 KiB |
| test_04.txt | AC | 18 ms | 3636 KiB |
| test_05.txt | AC | 27 ms | 3604 KiB |
| test_06.txt | AC | 27 ms | 3604 KiB |