Language: C++

#include <iostream>
using namespace std;
int N, A[10010]; // ?°?????????????????????????
int min(int *a, int size) {
    int min = a[0];
    for(int i=0;i<size;i++){
        if(a[i]<min){
            min = a[i];
        }
    }
    return min;
}

int max(int *a, int size) {
    int max = a[0];
    for(int i=0;i<size;i++){
        if(a[i]>max){
            max = a[i];
        }
    }
    return max;
}

int sum(int *a, int size) {
    int sum = 0;
    for(int i=0;i<size;i++){
        sum += a[i];
    }
    return sum;
}

int main() {
    cin >> N;
    for (int i=0; i<N; ++i)
        cin >> A[i];
    cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:36:25: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                         ^
a.cc:36:26: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                          ^
a.cc:36:27: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                           ^
a.cc:36:29: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                             ^
a.cc:36:30: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                              ^
a.cc:36:31: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                               ^
a.cc:36:33: error: expected primary-expression before '<<' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                 ^~
a.cc:36:48: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                ^
a.cc:36:49: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                 ^
a.cc:36:50: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                  ^
a.cc:36:52: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                    ^
a.cc:36:53: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                     ^
a.cc:36:54: error: expected primary-expression before '?' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                      ^
a.cc:36:56: error: expected primary-expression before '<<' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                        ^~
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token
a.cc:36:75: error: expected ':' before ';' token
   36 |     cout << min(A,N) << ??? ??? << max(A,N) << ??? ??? << sum(A,N) << endl;
      |                                                                           ^
      |                                                                           :
a.cc:36:75: error: expected primary-expression before ';' token