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:17:1: error: expected primary-expression before '?' token
   17 | ??????
      | ^
a.cc:17:2: error: expected primary-expression before '?' token
   17 | ??????
      |  ^
a.cc:17:3: error: expected primary-expression before '?' token
   17 | ??????
      |   ^
a.cc:17:4: error: expected primary-expression before '?' token
   17 | ??????
      |    ^
a.cc:17:5: error: expected primary-expression before '?' token
   17 | ??????
      |     ^
a.cc:17:6: error: expected primary-expression before '?' token
   17 | ??????
      |      ^
a.cc:18:1: error: expected primary-expression before '?' token
   18 | ??????int p[100];
      | ^
a.cc:18:2: error: expected primary-expression before '?' token
   18 | ??????int p[100];
      |  ^
a.cc:18:3: error: expected primary-expression before '?' token
   18 | ??????int p[100];
      |   ^
a.cc:18:4: error: expected primary-expression before '?' token
   18 | ??????int p[100];
      |    ^
a.cc:18:5: error: expected primary-expression before '?' token
   18 | ??????int p[100];
      |     ^
a.cc:18:6: error: expected primary-expression before '?' token
   18 | ??????int p[100];
      |      ^
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:18:7: error: expected ':' before 'int'
   18 | ??????int p[100];
      |       ^~~
      |       :
a.cc:18:7: error: expected primary-expression before 'int'
   18 | ??????int p[100];
      |       ^~~
a.cc:21:14: error: 'p' was not declared in this scope
   21 |       cin >> p[i];
      |              ^
a.cc:23:21: error: expected primary-expression before ')' token
   23 |       if (p[i] < mi;)
      |                     ^
a.cc:26:21: error: expected primary-expression before ')' token
   26 |       if (p[i] > ma;)
      |                     ^