Language: C++

#include <iostream>
#include <vector>
using namespace std;

int main()
{

	int n, num;
	vector< int > a;

	while( 1 ) {

		int Max = -100000;

		cin >> n;
		if( n == 0 ) break;

????????????????????????a.push_back( 0 );

		for( int i = 0; i < n; i++ ) {
		
			cin >> num;
			a.push_back( num );
			
		}

		for( int i = 1; i < n - 1; i++ ) {
		
			a.at( i - 1 ) + a.at( i ) > a.at( i ) ? a.at( i ) = a.at( i - 1 ) + a.at( i ) : a.at( i ) = a.at( i );

			if ( a.at( i ) > Max ) {
				Max = a.at( i );
			}
		
		}

		cout << Max << endl;

		a.clear();
	
	}

	return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:1: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      | ^
a.cc:18:2: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |  ^
a.cc:18:3: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |   ^
a.cc:18:4: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |    ^
a.cc:18:5: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |     ^
a.cc:18:6: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |      ^
a.cc:18:7: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |       ^
a.cc:18:8: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |        ^
a.cc:18:9: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |         ^
a.cc:18:10: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |          ^
a.cc:18:11: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |           ^
a.cc:18:12: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |            ^
a.cc:18:13: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |             ^
a.cc:18:14: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |              ^
a.cc:18:15: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |               ^
a.cc:18:16: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |                ^
a.cc:18:17: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |                 ^
a.cc:18:18: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |                  ^
a.cc:18:19: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |                   ^
a.cc:18:20: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |                    ^
a.cc:18:21: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |                     ^
a.cc:18:22: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |                      ^
a.cc:18:23: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |                       ^
a.cc:18:24: error: expected primary-expression before '?' token
   18 | ????????????????????????a.push_back( 0 );
      |                        ^
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token
a.cc:18:41: error: expected ':' before ';' token
   18 | ????????????????????????a.push_back( 0 );
      |                                         ^
      |                                         :
a.cc:18:41: error: expected primary-expression before ';' token