mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-13 06:06:27 +00:00
16 lines
203 B
C++
16 lines
203 B
C++
|
#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;
|
||
|
}
|