Language: C++

/*
 Sơn đẹp trai vô địch
 website: https://hotavn.com/ 
*/
#include <bits/stdc++.h>
#define Ogm ;
#define zFP {
#define mrj }
#define hJm /=
#define nIR +=
#define HNj -=
#define ZLz *=
#define tpq !=
#define AzL %=
#define SFh ^=
#define XEd |=
#define Hmp &=
#define jVb ||
#define GkY &&
#define isv *
#define thj /
#define OzC ++
#define VDj --
#define IYn +
#define ucl -
#define IKB %
#define SuL ^
#define Skd ?
#define KME &
#define rlu |
#define MtW !
#define kKr ==
#define doT >>
#define MJx <<
#define ZFs <=
#define iET >=
#define Lqf ->
#define DTo =
#define uyu <
#define sDr >


using namespace std Ogm 
long a[200005],n,k Ogm 
bool check(int m) zFP 
	int sl DTo 0 Ogm 
	for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP 
		sl DTo sl IYn (a[i] thj m) Ogm 
		if(a[i] IKB m kKr 0) sl VDj Ogm 
	 mrj 
	return (sl KME lt Ogm DTo k) Ogm 
 mrj 
int main() zFP 
	long dau DTo 1,cuoi,giua,M Ogm 
	cin doT n doT k Ogm 
	for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP 
		cin doT a[i] Ogm 
		cuoi DTo max(cuoi,a[i]) Ogm 
	 mrj 
	while(dau KME lt Ogm DTo cuoi) zFP 
		giua DTo (dau IYn cuoi) thj 2 Ogm 
		if(check(giua) kKr true) zFP 
			M DTo giua Ogm 
			cuoi DTo giua ucl 1 Ogm 
		 mrj else dau DTo giua IYn 1 Ogm 
	 mrj 
	cout KME lt Ogm 
	 KME lt Ogm 
	M Ogm 
 mrj 


Compiler output:
a.cc: In function 'bool check(int)':
a.cc:47:35: error: 'lt' was not declared in this scope
   47 |         for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP
      |                                   ^~
a.cc:38:13: error: expected primary-expression before '=' token
   38 | #define DTo =
      |             ^
a.cc:47:42: note: in expansion of macro 'DTo'
   47 |         for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP
      |                                          ^~~
a.cc:47:47: error: expected ')' before ';' token
   47 |         for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP
      |            ~                                  ^
      |                                               )
a.cc:47:52: error: 'i' was not declared in this scope
   47 |         for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP
      |                                                    ^
a.cc:51:24: error: 'lt' was not declared in this scope
   51 |         return (sl KME lt Ogm DTo k) Ogm
      |                        ^~
a.cc:51:26: error: expected ')' before ';' token
   51 |         return (sl KME lt Ogm DTo k) Ogm
      |                ~         ^
      |                          )
a.cc:38:13: error: expected primary-expression before '=' token
   38 | #define DTo =
      |             ^
a.cc:51:31: note: in expansion of macro 'DTo'
   51 |         return (sl KME lt Ogm DTo k) Ogm
      |                               ^~~
a.cc: In function 'int main()':
a.cc:56:35: error: 'lt' was not declared in this scope
   56 |         for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP
      |                                   ^~
a.cc:38:13: error: expected primary-expression before '=' token
   38 | #define DTo =
      |             ^
a.cc:56:42: note: in expansion of macro 'DTo'
   56 |         for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP
      |                                          ^~~
a.cc:56:47: error: expected ')' before ';' token
   56 |         for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP
      |            ~                                  ^
      |                                               )
a.cc:56:52: error: 'i' was not declared in this scope
   56 |         for(int i DTo 1 Ogm i KME lt Ogm DTo n Ogm i OzC ) zFP
      |                                                    ^
a.cc:60:23: error: 'lt' was not declared in this scope
   60 |         while(dau KME lt Ogm DTo cuoi) zFP
      |                       ^~
a.cc:60:25: error: expected ')' before ';' token
   60 |         while(dau KME lt Ogm DTo cuoi) zFP
      |              ~          ^
      |                         )
a.cc:38:13: error: expected primary-expression before '=' token
   38 | #define DTo =
      |             ^
a.cc:60:30: note: in expansion of macro 'DTo'
   60 |         while(dau KME lt Ogm DTo cuoi) zFP
      |                              ^~~
a.cc:67:18: error: 'lt' was not declared in this scope
   67 |         cout KME lt Ogm
      |                  ^~