Language: C++

的#include <cstdio>的
的#include <iostream的>
的#include <算法>
#include<cstring>
using namespace std;
struct node
{
    int a,b,c,d;
}re[250050];
int dx[]={0,0,1,-1};
int dy[]={1,-1,0,0};
int main()
{
    bool vis[550][550];
    memset(vis,false,sizeof(vis));
    int h,w,a[550][550];
    scanf("%d%d",&h,&w);
    for(int i=1;i<=h;i++)
        for(int j=1;j<=w;j++)
    {
        scanf("%d",&a[i][j]);
    }
    int cnt=0;
    int haha=5;
    while(haha--)
    {
        for(int i=1;i<=h;i++)
            for(int j=1;j<=w;j++)
        {
            int cot=0;
            for(int k=0;k<4;k++)
            {
                int x=i+dx[k];
                int y=j+dy[k];
                if(x<1||x>h||y<1||y>w||vis[x][y]) continue;
                if(a[x][y]%2==1) cot++;
            }
            if(a[i][j]%2==0&&cot>=2)
            {
                if(cot%2==1) cot--;
                for（int k = 0; k <4; k ++）
                {
                    int x = i + dx [k];
                    int y = j + dy [k];
                    if（x <1 || x> h || y <1 || y> w || vis [x] [y]）继续;
                    重新[CNT] .A = X，重新[CNT] .B = Y，再[CNT] .C = I，重新[CNT] .D = j的;
                    可见[X] [Y] = TRUE;
                    一[X] [Y]  - ;
                    一个[i] [j] ++;
                    CNT ++;
                    cot--;
                    if（cot <= 0）休息;
                }
            }
            否则如果（a [i] [j]％2 == 1 && cot> = 1）
            {
                if（cot％2 == 0）cot--;
                for（int k = 0; k <4; k ++）
                {
                    int x = i + dx [k];
                    int y = j + dy [k];
                    if（x <1 || x> h || y <1 || y> w || vis [x] [y]）继续;
                    重新[CNT] .A = X，重新[CNT] .B = Y，再[CNT] .C = I，重新[CNT] .D = j的;
                    一[X] [Y]  - ;
                    一个[i] [j] ++;
                    可见[X] [Y] = TRUE;
                    CNT ++;
                    cot--;
                    if（cot <= 0）休息;
                }
            }
        }
    }
    的printf（ “％d \ n” 个，CNT）;
    for（int i = 0; i <cnt; i ++）
    {
        printf（“％d％d％d％d \ n”，re [i] .a，re [i] .b，re [i] .c，re [i] .d）;
    }
}


Compiler output:
a.cc:1:3: error: stray '#' in program
    1 | 的#include <cstdio>的
      |   ^
a.cc:2:3: error: stray '#' in program
    2 | 的#include <iostream的>
      |   ^
a.cc:3:3: error: stray '#' in program
    3 | 的#include <算法>
      |   ^
a.cc:74:16: error: extended character “ is not valid in an identifier
   74 |     的printf（ “％d \ n” 个，CNT）;
      |                ^
a.cc:74:21: error: stray '\' in program
   74 |     的printf（ “％d \ n” 个，CNT）;
      |                     ^
a.cc:74:23: error: extended character ” is not valid in an identifier
   74 |     的printf（ “％d \ n” 个，CNT）;
      |                       ^
a.cc:77:9: error: extended character “ is not valid in an identifier
   77 |         printf（“％d％d％d％d \ n”，re [i] .a，re [i] .b，re [i] .c，re [i] .d）;
      |         ^
a.cc:77:31: error: stray '\' in program
   77 |         printf（“％d％d％d％d \ n”，re [i] .a，re [i] .b，re [i] .c，re [i] .d）;
      |                               ^
a.cc:77:33: error: extended character ” is not valid in an identifier
   77 |         printf（“％d％d％d％d \ n”，re [i] .a，re [i] .b，re [i] .c，re [i] .d）;
      |                                 ^
a.cc:1:1: error: '\U00007684' does not name a type
    1 | 的#include <cstdio>的
      | ^~
a.cc: In function 'int main()':
a.cc:17:5: error: 'scanf' was not declared in this scope
   17 |     scanf("%d%d",&h,&w);
      |     ^~~~~
a.cc:41:17: error: 'for\U0000ff08int' was not declared in this scope
   41 |                 for（int k = 0; k <4; k ++）
      |                 ^~~~~~~~
a.cc:41:33: error: 'k' was not declared in this scope
   41 |                 for（int k = 0; k <4; k ++）
      |                                 ^
a.cc:55:13: error: '\U00005426\U00005219\U00005982\U0000679c\U0000ff08a' was not declared in this scope
   55 |             否则如果（a [i] [j]％2 == 1 && cot> = 1）
      |             ^~~~~~~~~~~
a.cc:74:5: error: '\U00007684printf\U0000ff08' was not declared in this scope
   74 |     的printf（ “％d \ n” 个，CNT）;
      |     ^~~~~~~~~~
a.cc:75:5: error: 'for\U0000ff08int' was not declared in this scope
   75 |     for（int i = 0; i <cnt; i ++）
      |     ^~~~~~~~
a.cc:75:21: error: 'i' was not declared in this scope
   75 |     for（int i = 0; i <cnt; i ++）
      |                     ^