Language: C++

#include<iostream>
#include<algorithm>
using namespace std;
static const int MAX = 200000;


int main(){

	int R[MAX],n;
		
	cin >> n;

	for (int i = 0; i < n; i++) cin >> R[i];

	int maxv = -2000000000;
	int minv = R[0];

	for (int i = 1; i < n; i++){
		maxv = max(maxv, R[i] - minv);
		minv = min(minv, R[i]);
	}

	cout << maxv << endl;

????????????return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:1: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      | ^
a.cc:25:2: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |  ^
a.cc:25:3: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |   ^
a.cc:25:4: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |    ^
a.cc:25:5: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |     ^
a.cc:25:6: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |      ^
a.cc:25:7: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |       ^
a.cc:25:8: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |        ^
a.cc:25:9: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |         ^
a.cc:25:10: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |          ^
a.cc:25:11: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |           ^
a.cc:25:12: error: expected primary-expression before '?' token
   25 | ????????????return 0;
      |            ^
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
a.cc:25:13: error: expected ':' before 'return'
   25 | ????????????return 0;
      |             ^~~~~~
      |             :
a.cc:25:13: error: expected primary-expression before 'return'
   25 | ????????????return 0;
      |             ^~~~~~