Language: C++

#define REP(i,n) for (int i=0;i<(n);i++)???

#include <iostream>
using namespace std;
const int MAX = 8;


int set,n;
int sx,sy;
char field[MAX][MAX];

int dx[12] = {1, 0, -1, 0, 2, 0, -2, 0, 3, 0, -3, 0};???
int dy[12] = {0, 1, 0, -1, 0, 2, 0, -2, 0, 3, 0, -3};


void dfs (int x,int y){
	field[x][y] = '0';
	REP(i,12){
		int nx = x + dx[i], ny = y + dy[i];
			if (0 <= nx && nx < MAX && 0 <= ny && ny < MAX && field[nx][ny] == '1') 
				dfs(nx,ny);
		}
	return ;
}


void solve(){
	dfs(sy,sx);
	REP(i,MAX){
		REP(j,MAX){
				cout << field[i][j];
		}
		cout << endl;
	}
}

int main(){
	cin >> n;
	REP(set,n){
		REP(i,MAX){
			REP(j,MAX){
				cin >> field[i][j];
				}
			}
		cin >> sx >> sy;
		sx --; sy --;
		cout << "Data " << set+1 << ":" << endl;
		solve();
	}
}

Compiler output:
a.cc:12:54: error: expected unqualified-id before '?' token
   12 | int dx[12] = {1, 0, -1, 0, 2, 0, -2, 0, 3, 0, -3, 0};???
      |                                                      ^
a.cc: In function 'void dfs(int, int)':
a.cc:1:41: error: expected primary-expression before '?' token
    1 | #define REP(i,n) for (int i=0;i<(n);i++)???
      |                                         ^
a.cc:18:9: note: in expansion of macro 'REP'
   18 |         REP(i,12){
      |         ^~~
a.cc:1:42: error: expected primary-expression before '?' token
    1 | #define REP(i,n) for (int i=0;i<(n);i++)???
      |                                          ^
a.cc:18:9: note: in expansion of macro 'REP'
   18 |         REP(i,12){
      |         ^~~
a.cc:1:43: error: expected primary-expression before '?' token
    1 | #define REP(i,n) for (int i=0;i<(n);i++)???
      |                                           ^
a.cc:18:9: note: in expansion of macro 'REP'
   18 |         REP(i,12){
      |         ^~~
a.cc:18:18: error: expected primary-expression before '{' token
   18 |         REP(i,12){
      |                  ^
a.cc:18:18: error: expected ':' before '{' token
a.cc:18:18: error: expected primary-expression before '{' token
a.cc:18:18: error: expected ':' before '{' token
a.cc:18:18: error: expected primary-expression before '{' token
a.cc:18:18: error: expected ':' before '{' token
a.cc:18:18: error: expected primary-expression before '{' token
a.cc: In function 'void solve()':
a.cc:1:41: error: expected primary-expression before '?' token
    1 | #define REP(i,n) for (int i=0;i<(n);i++)???
      |                                         ^
a.cc:29:9: note: in expansion of macro 'REP'
   29 |         REP(i,MAX){
      |         ^~~
a.cc:1:42: error: expected primary-expression before '?' token
    1 | #define REP(i,n) for (int i=0;i<(n);i++)???
      |                                          ^
a.cc:29:9: note: in expansion of macro 'REP'
   29 |         REP(i,MAX){
      |         ^~~
a.cc:1:43: error: expected primary-expression before '?' token
    1 | #define REP(i,n) for (int i=0;i<(n);i++)???
      |                                           ^
a.cc:29:9: note: in expansion of macro 'REP'
   29 |         REP(i,MAX){
      |         ^~~
a.cc:29:19: error: expected primary-expression before '{' token
   29 |         REP(i,MAX){
      |                   ^
a.cc:29:19: error: expected ':' before '{' token
a.cc:29:19: error: expected primary-expression before '{' token
a.cc:29:19: error: expected ':' before '{' token
a.cc:29:19: error: expected primary-expression before '{' token
a.cc:29:19: error: expected ':' before '{' token
a.cc:29:19: error: expected primary-expression before '{' token
a.cc: In function 'int main()':
a.cc:1:41: error: expected primary-expression before '?' token
    1 | #define REP(i,n) for (int i=0;i<(n);i++)???
      |                                         ^
a.cc:39:9: note: in expansion of macro 'REP'
   39 |         REP(set,n){
      |         ^~~
a.cc:1:42: error: expected primary-expression before '?' token
    1 | #define REP(i,n) for (int i=0;i<(n);i++)???
      |                                          ^
a.cc:39:9: note: in expansion of macro 'REP'
   39 |         REP(set,n){
      |         ^~~
a.cc:1:43: error: expected primary-expression before '?' token
    1 | #define REP(i,n) for (int i=0;i<(n);i++)???
      |                                           ^
a.cc:39:9: note: in expansion of macro 'REP'
   39 |         REP(set,n){
      |         ^~~
a.cc:39:19: error: expected primary-expression before '{' token
   39 |         REP(set,n){
      |                   ^
a.cc:39:19: error: expected ':' before '{' token
a.cc:39:19: error: expected primary-expression before '{' token
a.cc:39:19: error: expected ':' before '{' token
a.cc:39:19: error: expected primary-expression before '{' token
a.cc:39:19: error: expected ':' before '{' token
a.cc:39:19: error: expected primary-expression before '{' token