0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 21:28:48 +00:00
Baoshuo Ren 2021-09-20 20:03:58 +08:00 committed by Baoshuo Ren
parent 8dde1f3e2d
commit b9cac8afc4
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

15
AcWing/891/891.cpp Normal file
View File

@ -0,0 +1,15 @@
#include <bits/stdc++.h>
using namespace std;
int n, r, a;
int main() {
cin >> n;
while (n--) {
cin >> a;
r ^= a;
}
cout << (r ? "Yes" : "No") << endl;
return 0;
}