比赛 |
2024年6月13日练习赛 |
评测结果 |
AAAAAAAAAA |
题目名称 |
开心题233 |
最终得分 |
100 |
用户昵称 |
┭┮﹏┭┮ |
运行时间 |
0.485 s |
代码语言 |
C++ |
内存使用 |
5.16 MiB |
提交时间 |
2024-06-13 18:08:57 |
显示代码纯文本
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define F(i,a,b) for(ll i = a;i <= b;i++)
#define D(i,a,b) for(ll i = a;i >= b;i--)
#define fi first
#define se second
#define pii pair<int,int>
#define pb(x) push_back(x)
const int N = 1510,M = 2e6+10;
const ll inf = 1e17,mod = 998244353;
ll read(){
ll x = 0,f = 1;char c = getchar();
for(;c < '0' || c > '9';c = getchar())if(c == '-')f = -1;
for(;c >= '0' && c <= '9';c = getchar())x = (x<<3) + (x<<1) + c-'0';
return x * f;
}
int n;
ll x;
int main(){
freopen("chopsticks.in","r",stdin);
freopen("chopsticks.out","w",stdout);
n = read();
F(i,1,n)x ^= read();
printf("%lld\n",x);
return cerr<<endl<<"Time:"<<clock()<<"ms"<<endl,0;
}