Language: C++

‪#include <bits/stdc++.h>‬
‪#define FOR(i, begin, end) for(int i=(begin);i<(end);i++)‬
‪#define REP(i, n) FOR(i,0,n)‬
‪#define IFOR(i, begin, end) for(int i=(end)-1;i>=(begin);i--)‬
‪#define IREP(i, n) IFOR(i,0,n)‬
‪#define SORT(a) sort(a.begin(), a.end())‬
‪#define REVERSE(a) reverse(a.begin(), a.end())‬
‪#define Lower_bound(v, x) distance(v.begin(), lower_bound(v.begin(), v.end(), x))‬
‪#define Upper_bound(v, x) distance(v.begin(), upper_bound(v.begin(), v.end(), x))‬
‪#define int long long‬
‪#define INF 1000000000000000000‬
‪using namespace std;‬

‪typedef vector<int> vec;‬
‪typedef vector<vec> mat;‬
‪typedef pair<int, int> Pii;‬

‪template<typename T>‬
‪void readvec(vector<T> &a);‬
‪void readindex(vector<int> &a);‬



‪signed main(){‬

‪    ‬int n;
    cin >> n
    vec L(n);
    readvec(L);
    SORT(L);
    int ans = 0:
    REP(i, n){
      ans += L[2 * i + 1];
    }
    cout << ans;
    
‪    return 0;‬
‪}‬


‪template<typename T>‬
‪void readvec(vector<T> &a){‬
‪    REP(i, a.size()){‬
‪        cin >> a[i];‬
‪    }‬
‪}‬
‪void readindex(vector<int> &a){‬
‪    REP(i, a.size()){‬
‪        cin >> a[i];‬
‪        a[i]--;‬
‪    }‬
‪}‬


Compiler output:
a.cc:1: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    1 | <U+202A>#include <bits/stdc++.h><U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:1:1: error: stray '#' in program
    1 | ‪#include <bits/stdc++.h>‬
      | ^
a.cc:2: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    2 | <U+202A>#define FOR(i, begin, end) for(int i=(begin);i<(end);i++)<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:2:1: error: stray '#' in program
    2 | ‪#define FOR(i, begin, end) for(int i=(begin);i<(end);i++)‬
      | ^
a.cc:3: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    3 | <U+202A>#define REP(i, n) FOR(i,0,n)<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:3:1: error: stray '#' in program
    3 | ‪#define REP(i, n) FOR(i,0,n)‬
      | ^
a.cc:4: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    4 | <U+202A>#define IFOR(i, begin, end) for(int i=(end)-1;i>=(begin);i--)<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:4:1: error: stray '#' in program
    4 | ‪#define IFOR(i, begin, end) for(int i=(end)-1;i>=(begin);i--)‬
      | ^
a.cc:5: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    5 | <U+202A>#define IREP(i, n) IFOR(i,0,n)<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:5:1: error: stray '#' in program
    5 | ‪#define IREP(i, n) IFOR(i,0,n)‬
      | ^
a.cc:6: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    6 | <U+202A>#define SORT(a) sort(a.begin(), a.end())<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:6:1: error: stray '#' in program
    6 | ‪#define SORT(a) sort(a.begin(), a.end())‬
      | ^
a.cc:7: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    7 | <U+202A>#define REVERSE(a) reverse(a.begin(), a.end())<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:7:1: error: stray '#' in program
    7 | ‪#define REVERSE(a) reverse(a.begin(), a.end())‬
      | ^
a.cc:8: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    8 | <U+202A>#define Lower_bound(v, x) distance(v.begin(), lower_bound(v.begin(), v.end(), x))<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:8:1: error: stray '#' in program
    8 | ‪#define Lower_bound(v, x) distance(v.begin(), lower_bound(v.begin(), v.end(), x))‬
      | ^
a.cc:9: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    9 | <U+202A>#define Upper_bound(v, x) distance(v.begin(), upper_bound(v.begin(), v.end(), x))<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:9:1: error: stray '#' in program
    9 | ‪#define Upper_bound(v, x) distance(v.begin(), upper_bound(v.begin(), v.end(), x))‬
      | ^
a.cc:10: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   10 | <U+202A>#define int long long<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:10:1: error: stray '#' in program
   10 | ‪#define int long long‬
      | ^
a.cc:11: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   11 | <U+202A>#define INF 1000000000000000000<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:11:1: error: stray '#' in program
   11 | ‪#define INF 1000000000000000000‬
      | ^
a.cc:12:5: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   12 | <U+202A>using namespace std;<U+202C>
      | ~~~~~~~~    ^
      | |           |
      | |           end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:14:7: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   14 | <U+202A>typedef vector<int> vec;<U+202C>
      | ~~~~~~~~      ^
      | |             |
      | |             end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:15:7: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   15 | <U+202A>typedef vector<vec> mat;<U+202C>
      | ~~~~~~~~      ^
      | |             |
      | |             end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:16:7: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   16 | <U+202A>typedef pair<int, int> Pii;<U+202C>
      | ~~~~~~~~      ^
      | |             |
      | |             end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:18:8: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   18 | <U+202A>template<typename T><U+202C>
      | ~~~~~~~~       ^
      | |              |
      | |              end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:19:4: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   19 | <U+202A>void readvec(vector<T> &a);<U+202C>
      | ~~~~~~~~   ^
      | |          |
      | |          end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:20:4: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   20 | <U+202A>void readindex(vector<int> &a);<U+202C>
      | ~~~~~~~~   ^
      | |          |
      | |          end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:24:6: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   24 | <U+202A>signed main(){<U+202C>
      | ~~~~~~~~     ^
      | |            |
      | |            end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:26: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   26 | <U+202A>    <U+202C>int n;
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:37: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   37 | <U+202A>    return 0;<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:38: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   38 | <U+202A>}<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:41:8: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   41 | <U+202A>template<typename T><U+202C>
      | ~~~~~~~~       ^
      | |              |
      | |              end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:42:4: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   42 | <U+202A>void readvec(vector<T> &a){<U+202C>
      | ~~~~~~~~   ^
      | |          |
      | |          end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:43: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   43 | <U+202A>    REP(i, a.size()){<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:44: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   44 | <U+202A>        cin >> a[i];<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:45: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   45 | <U+202A>    }<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:46: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   46 | <U+202A>}<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:47:4: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   47 | <U+202A>void readindex(vector<int> &a){<U+202C>
      | ~~~~~~~~   ^
      | |          |
      | |          end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:48: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   48 | <U+202A>    REP(i, a.size()){<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:49: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   49 | <U+202A>        cin >> a[i];<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:50: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   50 | <U+202A>        a[i]--;<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:51: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   51 | <U+202A>    }<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:52: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
   52 | <U+202A>}<U+202C>
      | ~~~~~~~~ 
      | |       |