| 记录编号 | 575159 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 3716.异或加密 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.677 s | ||
| 提交时间 | 2022-09-06 13:00:30 | 内存使用 | 2.94 MiB | ||
#include <bits/stdc++.h>
using namespace std;
int n,a,ans;
int main(){
freopen("XORcipher.in","r",stdin);
freopen("XORcipher.out","w",stdout);
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin>>n;
for(int i=1;i<=2*n;i++){
cin>>a;
ans^=a;
}
cout<<ans<<endl;
return 0;
}