0_0_21582651_17192.cpp:27:29: error: stray '#' in program
if (j>0 && ch[map1[i][j]-'A'][0] && ch[map1[i][j-1]-'A'][2]) //左边的0和右边的2,如果都为1,则可以连接
^
0_0_21582651_17192.cpp:27:35: error: stray '#' in program
if (j>0 && ch[map1[i][j]-'A'][0] && ch[map1[i][j-1]-'A'][2]) //左边的0和右边的2,如果都为1,则可以连接
^
0_0_21582651_17192.cpp:27:64: error: stray '#' in program
if (j>0 && ch[map1[i][j]-'A'][0] && ch[map1[i][j-1]-'A'][2]) //左边的0和右边的2,如果都为1,则可以连接
^
0_0_21582651_17192.cpp:27:70: error: stray '#' in program
if (j>0 && ch[map1[i][j]-'A'][0] && ch[map1[i][j-1]-'A'][2]) //左边的0和右边的2,如果都为1,则可以连接
^
0_0_21582651_17192.cpp:29:29: error: stray '#' in program
if (i>0 && ch[map1[i][j]-'A'][1] && ch[map1[i-1][j]-'A'][3]) //上面的为1下面的为3
^
0_0_21582651_17192.cpp:29:35: error: stray '#' in program
if (i>0 && ch[map1[i][j]-'A'][1] && ch[map1[i-1][j]-'A'][3]) //上面的为1下面的为3
^
0_0_21582651_17192.cpp:29:64: error: stray '#' in program
if (i>0 && ch[map1[i][j]-'A'][1] && ch[map1[i-1][j]-'A'][3]) //上面的为1下面的为3
^
0_0_21582651_17192.cpp:29:70: error: stray '#' in program
if (i>0 && ch[map1[i][j]-'A'][1] && ch[map1[i-1][j]-'A'][3]) //上面的为1下面的为3
^
0_0_21582651_17192.cpp: In function 'void uni(int, int)':
0_0_21582651_17192.cpp:27:30: error: lvalue required as unary '&' operand
if (j>0 && ch[map1[i][j]-'A'][0] && ch[map1[i][j-1]-'A'][2]) //左边的0和右边的2,如果都为1,则可以连接
^
0_0_21582651_17192.cpp:27:32: error: expected ']' before ';' token
if (j>0 && ch[map1[i][j]-'A'][0] && ch[map1[i][j-1]-'A'][2]) //左边的0和右边的2,如果都为1,则可以连接
^
0_0_21582651_17192.cpp:27:32: error: expected ')' before ';' token
0_0_21582651_17192.cpp:27:33: error: 'A' was not declared in this scope
if (j>0 && ch[map1[i][j]-'A'][0] && ch[map1[i][j-1]-'A'][2]) //左边的0和右边的2,如果都为1,则可以连接
^
0_0_21582651_17192.cpp:27:39: error: expected primary-expression before ']' token
if (j>0 && ch[map1[i][j]-'A'][0] && ch[map1[i][j-1]-'A'][2]) //左边的0和右边的2,如果都为1,则可以连接
^
0_0_21582651_17192.cpp:27:74: error: expected primary-expression before ']' token
if (j>0 && ch[map1[i][j]-'A'][0] && ch[map1[i][j-1]-'A'][2]) //左边的0和右边的2,如果都为1,则可以连接
^
0_0_21582651_17192.cpp:29:30: error: lvalue required as unary '&' operand
if (i>0 && ch[map1[i][j]-'A'][1] && ch[map1[i-1][j]-'A'][3]) //上面的为1下面的为3
^
0_0_21582651_17192.cpp:29:32: error: expected ']' before ';' token
if (i>0 && ch[map1[i][j]-'A'][1] && ch[map1[i-1][j]-'A'][3]) //上面的为1下面的为3
^
0_0_21582651_17192.cpp:29:32: error: expected ')' before ';' token
0_0_21582651_17192.cpp:29:39: error: expected primary-expression before ']' token
if (i>0 && ch[map1[i][j]-'A'][1] && ch[map1[i-1][j]-'A'][3]) //上面的为1下面的为3
^
0_0_21582651_17192.cpp:29:74: error: expected primary-expression before ']' token
if (i>0 && ch[map1[i][j]-'A'][1] && ch[map1[i-1][j]-'A'][3]) //上面的为1下面的为3
^
|