Language: C++

#include <iostream>                                                                                                |  1 10                                                                                                                
  2 #include <algorithm>                                                                                               |  2 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000
  3 #include <cmath>                                                                                                   |    000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 10000000
  4 #include <sstream>                                                                                                 |    00 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000             
  5 #include <string>                                                                                                  |~                                                                                                                     
  6                                                                                                                    |~                                                                                                                     
  7 using namespace std;                                                                                               |~                                                                                                                     
  8 int main()                                                                                                         |~                                                                                                                     
  9 {                                                                                                                  |~                                                                                                                     
 10         int n;                                                                                                     |~                                                                                                                     
 11         cin >> n;                                                                                                  |~                                                                                                                     
 12         int m = n * 3;                                                                                             |~                                                                                                                     
 13         long long a[m];                                                                                            |~                                                                                                                     
 14         for(int i = 0; i < m; i++){                                                                                |~                                                                                                                     
 15                 cin >> a[i];                                                                                       |~                                                                                                                     
 16         }                                                                                                          |~                                                                                                                     
 17         sort(a, a+m);                                                                                              |~                                                                                                                     
 18                                                                                                                    |~                                                                                                                     
 19         long long ans = 0;                                                                                         |~                                                                                                                     
 20         for(int i = 0; i < n; i++){                                                                                |~                                                                                                                     
 21                 ans += a[m-i*2-2];                                                                                 |~                                                                                                                     
 22         }                                                                                                          |~                                                                                                                     
 23         cout << ans << endl;                                                                                       |~                                                                                                                     
 24 }

Compiler output:
a.cc:1:116: warning: extra tokens at end of #include directive
    1 | #include <iostream>                                                                                                |  1 10
      |                                                                                                                    ^
a.cc:2:5: error: stray '#' in program
    2 |   2 #include <algorithm>                                                                                               |  2 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000
      |     ^
a.cc:3:5: error: stray '#' in program
    3 |   3 #include <cmath>                                                                                                   |    000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 10000000
      |     ^
a.cc:4:5: error: stray '#' in program
    4 |   4 #include <sstream>                                                                                                 |    00 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000
      |     ^
a.cc:5:5: error: stray '#' in program
    5 |   5 #include <string>                                                                                                  |~
      |     ^
a.cc:2:3: error: expected unqualified-id before numeric constant
    2 |   2 #include <algorithm>                                                                                               |  2 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000
      |   ^
a.cc:7:120: error: expected unqualified-id before '|' token
    7 |   7 using namespace std;                                                                                               |~
      |                                                                                                                        ^