Language: C++

/* minmaxsum.cc
*/
#include <iostream>
using namespace std;
int N, A[10010]; // ?°??????????
int min() {
return ..;
}
int max() {
return ..;
}
int sum() {
return ..;
}
int main() {
cin >> N;
for (int i=0; i<N; ++i)
cin >> A[i];
cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
}

Compiler output:
a.cc: In function 'int min()':
a.cc:7:8: error: expected primary-expression before '.' token
    7 | return ..;
      |        ^
a.cc:7:9: error: expected unqualified-id before '.' token
    7 | return ..;
      |         ^
a.cc:7:10: error: expected unqualified-id before ';' token
    7 | return ..;
      |          ^
a.cc: In function 'int max()':
a.cc:10:8: error: expected primary-expression before '.' token
   10 | return ..;
      |        ^
a.cc:10:9: error: expected unqualified-id before '.' token
   10 | return ..;
      |         ^
a.cc:10:10: error: expected unqualified-id before ';' token
   10 | return ..;
      |          ^
a.cc: In function 'int sum()':
a.cc:13:8: error: expected primary-expression before '.' token
   13 | return ..;
      |        ^
a.cc:13:9: error: expected unqualified-id before '.' token
   13 | return ..;
      |         ^
a.cc:13:10: error: expected unqualified-id before ';' token
   13 | return ..;
      |          ^
a.cc: In function 'int main()':
a.cc:19:18: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                  ^
a.cc:19:19: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                   ^
a.cc:19:20: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                    ^
a.cc:19:22: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                      ^
a.cc:19:23: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                       ^
a.cc:19:24: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                        ^
a.cc:19:26: error: expected primary-expression before '<<' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                          ^~
a.cc:19:38: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                      ^
a.cc:19:39: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                       ^
a.cc:19:40: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                        ^
a.cc:19:42: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                          ^
a.cc:19:43: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                           ^
a.cc:19:44: error: expected primary-expression before '?' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                            ^
a.cc:19:46: error: expected primary-expression before '<<' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                              ^~
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token
a.cc:19:62: error: expected ':' before ';' token
   19 | cout << min() << ??? ??? << max() << ??? ??? << sum() << endl;
      |                                                              ^
      |                                                              :
a.cc:19:62: error: expected primary-expression before ';' token