Language: C++

#include<iostream>

using namespace std;

int main () {

  while (true){

    int n;
    int i;
    int s = 0;
    int mi = 0;
    int ma = 0;
    cin >> n;

    if (n == 0)
      break;
??????
??????int p[100];

    for (i = 0;i < n;i++){
      cin >> p[i];

      if (p[i] < mi)
        mi << p[i];

      if (p[i] > ma)
        ma << p[i];

      s += p[i];

    }

    cout << (s - mi - ma) / (n-2) << endl;

  }

  return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:1: error: expected primary-expression before '?' token
   18 | ??????
      | ^
a.cc:18:2: error: expected primary-expression before '?' token
   18 | ??????
      |  ^
a.cc:18:3: error: expected primary-expression before '?' token
   18 | ??????
      |   ^
a.cc:18:4: error: expected primary-expression before '?' token
   18 | ??????
      |    ^
a.cc:18:5: error: expected primary-expression before '?' token
   18 | ??????
      |     ^
a.cc:18:6: error: expected primary-expression before '?' token
   18 | ??????
      |      ^
a.cc:19:1: error: expected primary-expression before '?' token
   19 | ??????int p[100];
      | ^
a.cc:19:2: error: expected primary-expression before '?' token
   19 | ??????int p[100];
      |  ^
a.cc:19:3: error: expected primary-expression before '?' token
   19 | ??????int p[100];
      |   ^
a.cc:19:4: error: expected primary-expression before '?' token
   19 | ??????int p[100];
      |    ^
a.cc:19:5: error: expected primary-expression before '?' token
   19 | ??????int p[100];
      |     ^
a.cc:19:6: error: expected primary-expression before '?' token
   19 | ??????int p[100];
      |      ^
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int p[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int p[100];
      |       ^~~
a.cc:22:14: error: 'p' was not declared in this scope
   22 |       cin >> p[i];
      |              ^