Language: C++

#include<iostream>
using namespace std;
int main() {
	int n,ba=100001,fr=99999;
 
	int a[200001];
	int b[200001];
 
	cin >> n;
	for (int i = 0; i < n; i++) cin >> a[i];
	//
 
	b[100000] = a[0];
	for (int i = 1; i < n; i++) {
		if (i % 2 == n % 2) {
 
			b[ba] = a[i];
			ba++;
		}
		else {
			b[fr] = a[i];
			fr--;
			}
		
 
		}
	
 
 
 
 
 
 
 
	for (int i = fr + 1; i < ba - 1; i++) {
 
		cout << b[i] << " ";
 
	}
 
	cout << b[ba - 1] << endl;
 
}

Compiler output:
a.cc:5:1: error: extended character   is not valid in an identifier
    5 |  
      | ^
a.cc:8:1: error: extended character   is not valid in an identifier
    8 |  
      | ^
a.cc:12:1: error: extended character   is not valid in an identifier
   12 |  
      | ^
a.cc:16:1: error: extended character   is not valid in an identifier
   16 |  
      | ^
a.cc:25:1: error: extended character   is not valid in an identifier
   25 |  
      | ^
a.cc:28:1: error: extended character   is not valid in an identifier
   28 |  
      | ^
a.cc:29:1: error: extended character   is not valid in an identifier
   29 |  
      | ^
a.cc:30:1: error: extended character   is not valid in an identifier
   30 |  
      | ^
a.cc:31:1: error: extended character   is not valid in an identifier
   31 |  
      | ^
a.cc:32:1: error: extended character   is not valid in an identifier
   32 |  
      | ^
a.cc:33:1: error: extended character   is not valid in an identifier
   33 |  
      | ^
a.cc:34:1: error: extended character   is not valid in an identifier
   34 |  
      | ^
a.cc:36:1: error: extended character   is not valid in an identifier
   36 |  
      | ^
a.cc:38:1: error: extended character   is not valid in an identifier
   38 |  
      | ^
a.cc:40:1: error: extended character   is not valid in an identifier
   40 |  
      | ^
a.cc:42:1: error: extended character   is not valid in an identifier
   42 |  
      | ^
a.cc: In function 'int main()':
a.cc:5:1: error: '\U000000a0' was not declared in this scope
    5 |  
      | ^
a.cc:8:2: error: expected ';' before 'cin'
    8 |  
      |  ^
      |  ;
    9 |         cin >> n;
      |         ~~~
a.cc:10:44: error: 'a' was not declared in this scope
   10 |         for (int i = 0; i < n; i++) cin >> a[i];
      |                                            ^
a.cc:12:2: error: expected ';' before 'b'
   12 |  
      |  ^
      |  ;
   13 |         b[100000] = a[0];
      |         ~
a.cc:16:2: error: expected ';' before 'b'
   16 |  
      |  ^
      |  ;
   17 |                         b[ba] = a[i];
      |                         ~
a.cc:21:33: error: 'a' was not declared in this scope
   21 |                         b[fr] = a[i];
      |                                 ^
a.cc:25:2: error: expected ';' before '}' token
   25 |  
      |  ^
      |  ;
   26 |                 }
      |                 ~
a.cc:28:2: error: expected ';' before '\U000000a0'
   28 |  
      |  ^
      |  ;
   29 |  
      | ~ 
a.cc:35:30: error: 'i' was not declared in this scope
   35 |         for (int i = fr + 1; i < ba - 1; i++) {
      |                              ^
a.cc:40:2: error: expected ';' before 'cout'
   40 |  
      |  ^
      |  ;
   41 |         cout << b[ba - 1] << endl;
      |         ~~~~
a.cc:42:2: error: expected ';' before '}' token
   42 |  
      |  ^
      |  ;
   43 | }
      | ~