Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  int end;
  int p = 0;
  int n;
  int k;
  cin>>n>>k;
  vector<int> vect;
  int temp;
  for (int i = 1; i <= n; i++)
  {
    cin>>temp;
    vect.push_back(temp);
  }
  for(int i = 1; i <= 3; i++)
  {
    int tmp = vect[0];
    for (int f = 0; f < vect.size(); f++)
    {
      if (tmp > vect[f])
      {
        tmp = vect[f];
        p = f;
      }
    }
    vect.erase(vect.begin()+p);
    end += tmp;
    p = 0;
  }
  cout<<end;
  return 0;
}

Compiler output:
a.cc:1:2: error: extended character   is not valid in an identifier
    1 | #include <bits/stdc++.h>
      |  ^
a.cc:1:2: error: invalid preprocessing directive #include\U000000a0
    1 | #include <bits/stdc++.h>
      |  ^~~~~~~~
a.cc:2:1: error: extended character   is not valid in an identifier
    2 | using namespace std;
      | ^
a.cc:2:1: error: extended character   is not valid in an identifier
a.cc:4:1: error: extended character   is not valid in an identifier
    4 | int main() {
      | ^
a.cc:4:11: error: extended character   is not valid in an identifier
    4 | int main() {
      |           ^
a.cc:5:1: error: extended character   is not valid in an identifier
    5 |   int end;
      | ^
a.cc:5:1: error: extended character   is not valid in an identifier
a.cc:5:1: error: extended character   is not valid in an identifier
a.cc:6:1: error: extended character   is not valid in an identifier
    6 |   int p = 0;
      | ^
a.cc:6:1: error: extended character   is not valid in an identifier
a.cc:6:1: error: extended character   is not valid in an identifier
a.cc:6:1: error: extended character   is not valid in an identifier
a.cc:6:10: error: extended character   is not valid in an identifier
    6 |   int p = 0;
      |          ^
a.cc:7:1: error: extended character   is not valid in an identifier
    7 |   int n;
      | ^
a.cc:7:1: error: extended character   is not valid in an identifier
a.cc:7:1: error: extended character   is not valid in an identifier
a.cc:8:1: error: extended character   is not valid in an identifier
    8 |   int k;
      | ^
a.cc:8:1: error: extended character   is not valid in an identifier
a.cc:8:1: error: extended character   is not valid in an identifier
a.cc:9:1: error: extended character   is not valid in an identifier
    9 |   cin>>n>>k;
      | ^
a.cc:9:1: error: extended character   is not valid in an identifier
a.cc:10:1: error: extended character   is not valid in an identifier
   10 |   vector<int> vect;
      | ^
a.cc:10:1: error: extended character   is not valid in an identifier
a.cc:10:14: error: extended character   is not valid in an identifier
   10 |   vector<int> vect;
      |              ^
a.cc:11:1: error: extended character   is not valid in an identifier
   11 |   int temp;
      | ^
a.cc:11:1: error: extended character   is not valid in an identifier
a.cc:11:1: error: extended character   is not valid in an identifier
a.cc:12:1: error: extended character   is not valid in an identifier
   12 |   for (int i = 1; i <= n; i++)
      | ^
a.cc:12:1: error: extended character   is not valid in an identifier
a.cc:12:1: error: extended character   is not valid in an identifier
a.cc:12:8: error: extended character   is not valid in an identifier
   12 |   for (int i = 1; i <= n; i++)
      |        ^
a.cc:12:8: error: extended character   is not valid in an identifier
a.cc:12:15: error: extended character   is not valid in an identifier
   12 |   for (int i = 1; i <= n; i++)
      |               ^
a.cc:12:18: error: extended character   is not valid in an identifier
   12 |   for (int i = 1; i <= n; i++)
      |                  ^
a.cc:12:18: error: extended character   is not valid in an identifier
a.cc:12:23: error: extended character   is not valid in an identifier
   12 |   for (int i = 1; i <= n; i++)
      |                       ^
a.cc:12:26: error: extended character   is not valid in an identifier
   12 |   for (int i = 1; i <= n; i++)
      |                          ^
a.cc:13:1: error: extended character   is not valid in an identifier
   13 |   {
      | ^
a.cc:13:1: error: extended character   is not valid in an identifier
a.cc:14:1: error: extended character   is not valid in an identifier
   14 |     cin>>temp;
      | ^
a.cc:14:1: error: extended character   is not valid in an identifier
a.cc:14:1: error: extended character   is not valid in an identifier
a.cc:14:1: error: extended character   is not valid in an identifier
a.cc:15:1: error: extended character   is not valid in an identifier
   15 |     vect.push_back(temp);
      | ^
a.cc:15:1: error: extended character   is not valid in an identifier
a.cc:15:1: error: extended character   is not valid in an identifier
a.cc:15:1: error: extended character   is not valid in an identifier
a.cc:16:1: error: extended character   is not valid in an identifier
   16 |   }
      | ^
a.cc:16:1: error: extended character   is not valid in an identifier
a.cc:17:1: error: extended character   is not valid in an identifier
   17 |   for(int i = 1; i <= 3; i++)
      | ^
a.cc:17:1: error: extended character   is not valid in an identifier
a.cc:17:7: error: extended character   is not valid in an identifier
   17 |   for(int i = 1; i <= 3; i++)
      |       ^
a.cc:17:7: error: extended character   is not valid in an identifier
a.cc:17:14: error: extended character   is not valid in an identifier
   17 |   for(int i = 1; i <= 3; i++)
      |              ^
a.cc:17:17: error: extended character   is not valid in an identifier
   17 |   for(int i = 1; i <= 3; i++)
      |                 ^
a.cc:17:17: error: extended character   is not valid in an identifier
a.cc:17:22: error: extended character   is not valid in an identifier
   17 |   for(int i = 1; i <= 3; i++)
      |                      ^
a.cc:17:25: error: extended character   is not valid in an identifier
   17 |   for(int i = 1; i <= 3; i++)
      |                         ^
a.cc:18:1: error: extended character   is not valid in an identifier
   18 |   {
      | ^
a.cc:18:1: error: extended character   is not valid in an identifier
a.cc:19:1: error: extended character   is not valid in an identifier
   19 |     int tmp = vect[0];
      | ^
a.cc:19:1: error: extended character   is not valid in an identifier
a.cc:19:1: error: extended character   is not valid in an identifier
a.cc:19:1: error: extended character   is not valid in an identifier
a.cc:19:1: error: extended character   is not valid in an identifier
a.cc:19:1: error: extended character   is not valid in an identifier
a.cc:19:14: error: extended character   is not valid in an identifier
   19 |     int tmp = vect[0];
      |              ^
a.cc:20:1: error: extended character   is not valid in an identifier
   20 |     for (int f = 0; f < vect.size(); f++)
      | ^
a.cc:20:1: error: extended character   is not valid in an identifier
a.cc:20:1: error: extended character   is not valid in an identifier
a.cc:20:1: error: extended character   is not valid in an identifier
a.cc:20:1: error: extended character   is not valid in an identifier
a.cc:20:10: error: extended character   is not valid in an identifier
   20 |     for (int f = 0; f < vect.size(); f++)
      |          ^
a.cc:20:10: error: extended character   is not valid in an identifier
a.cc:20:17: error: extended character   is not valid in an identifier
   20 |     for (int f = 0; f < vect.size(); f++)
      |                 ^
a.cc:20:20: error: extended character   is not valid in an identifier
   20 |     for (int f = 0; f < vect.size(); f++)
      |                    ^
a.cc:20:20: error: extended character   is not valid in an identifier
a.cc:20:24: error: extended character   is not valid in an identifier
   20 |     for (int f = 0; f < vect.size(); f++)
      |                        ^
a.cc:20:37: error: extended character   is not valid in an identifier
   20 |     for (int f = 0; f < vect.size(); f++)
      |                                     ^
a.cc:21:1: error: extended character   is not valid in an identifier
   21 |     {
      | ^
a.cc:21:1: error: extended character   is not valid in an identifier
a.cc:21:1: error: extended character   is not valid in an identifier
a.cc:21:1: error: extended character   is not valid in an identifier
a.cc:22:1: error: extended character   is not valid in an identifier
   22 |       if (tmp > vect[f])
      | ^
a.cc:22:1: error: extended character   is not valid in an identifier
a.cc:22:1: error: extended character   is not valid in an identifier
a.cc:22:1: error: extended character   is not valid in an identifier
a.cc:22:1: error: extended character   is not valid in an identifier
a.cc:22:1: error: extended character   is not valid in an identifier
a.cc:22:1: error: extended character   is not valid in an identifier
a.cc:22:11: error: extended character   is not valid in an identifier
   22 |       if (tmp > vect[f])
      |           ^
a.cc:22:16: error: extended character   is not valid in an identifier
   22 |       if (tmp > vect[f])
      |                ^
a.cc:23:1: error: extended character   is not valid in an identifier
   23 |       {
      | ^
a.cc:23:1: error: extended character   is not valid in an identifier
a.cc:23:1: error: extended character   is not valid in an identifier
a.cc:23:1: error: extended character   is not valid in an identifier
a.cc:23:1: error: extended character   is not valid in an identifier
a.cc:23:1: error: extended character   is not valid in an identifier
a.cc:24:1: error: extended character   is not valid in an identifier
   24 |         tmp = vect[f];
      | ^
a.cc:24:1: error: extended character   is not valid in an identifier
a.cc:24:1: error: extended character   is not valid in an identifier
a.cc:24:1: error: extended character   is not valid in an identifier
a.cc:24:1: error: extended character   is not valid in an identifier
a.cc:24:1: error: extended character   is not valid in an identifier
a.cc:24:1: error: extended character   is not valid in an identifier
a.cc:24:1: error: extended character   is not valid in an identifier
a.cc:24:1: error: extended character   is not valid in an identifier
a.cc:24:14: error: extended character   is not valid in an identifier
   24 |         tmp = vect[f];
      |              ^
a.cc:25:1: error: extended character   is n