Language: C++

int main() {
	int number; cin >> number;
	int　anAray[number] = {};

	for(int i = 0; i < number; i++){
		cin >> anAray[i];
	}

	for(int j = 0; i < number; j++){
		if(j == 0){
			int checkNumber = anArray[j+1] ^ anArray[number-1];
			if(anArray[j] != checkNumber) {cout << "No" << endl;}
		}else if (j == number-1){
			int checkNumber = anArray[j-2] ^ anArray[j-1];
			if(anArray[j] != checkNumber) {cout << "No" << endl;}
		}else {
			int checkNumber = anArray[j-1] ^ anArray[j+1];
			if(anArray[j] != checkNumber) {cout << "No" << endl;}
		}
	}
	
	cout << "Yes" << endl;

	return 0;
}

Compiler output:
a.cc:3:9: error: extended character 　 is not valid in an identifier
    3 |         int　anAray[number] = {};
      |         ^
a.cc: In function 'int main()':
a.cc:2:21: error: 'cin' was not declared in this scope
    2 |         int number; cin >> number;
      |                     ^~~
a.cc:3:9: error: 'int\U00003000anAray' was not declared in this scope
    3 |         int　anAray[number] = {};
      |         ^~~~~~~~~~~
a.cc:6:24: error: 'anAray' was not declared in this scope
    6 |                 cin >> anAray[i];
      |                        ^~~~~~
a.cc:9:24: error: 'i' was not declared in this scope
    9 |         for(int j = 0; i < number; j++){
      |                        ^
a.cc:11:43: error: 'anArray' was not declared in this scope
   11 |                         int checkNumber = anArray[j+1] ^ anArray[number-1];
      |                                           ^~~~~~~
a.cc:12:56: error: 'cout' was not declared in this scope
   12 |                         if(anArray[j] != checkNumber) {cout << "No" << endl;}
      |                                                        ^~~~
a.cc:12:72: error: 'endl' was not declared in this scope
   12 |                         if(anArray[j] != checkNumber) {cout << "No" << endl;}
      |                                                                        ^~~~
a.cc:14:43: error: 'anArray' was not declared in this scope
   14 |                         int checkNumber = anArray[j-2] ^ anArray[j-1];
      |                                           ^~~~~~~
a.cc:15:56: error: 'cout' was not declared in this scope
   15 |                         if(anArray[j] != checkNumber) {cout << "No" << endl;}
      |                                                        ^~~~
a.cc:15:72: error: 'endl' was not declared in this scope
   15 |                         if(anArray[j] != checkNumber) {cout << "No" << endl;}
      |                                                                        ^~~~
a.cc:17:43: error: 'anArray' was not declared in this scope
   17 |                         int checkNumber = anArray[j-1] ^ anArray[j+1];
      |                                           ^~~~~~~
a.cc:18:56: error: 'cout' was not declared in this scope
   18 |                         if(anArray[j] != checkNumber) {cout << "No" << endl;}
      |                                                        ^~~~
a.cc:18:72: error: 'endl' was not declared in this scope
   18 |                         if(anArray[j] != checkNumber) {cout << "No" << endl;}
      |                                                                        ^~~~
a.cc:22:9: error: 'cout' was not declared in this scope
   22 |         cout << "Yes" << endl;
      |         ^~~~
a.cc:22:26: error: 'endl' was not declared in this scope
   22 |         cout << "Yes" << endl;
      |                          ^~~~