F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_21589605_5826.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_21589605_5826.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_21589605_5826.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_21589605_5826.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_21589605_5826.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_21589605_5826.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_21589605_5826.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_21589605_5826.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_21589605_5826.cpp: In function 'void uni(int, int)':
0_0_21589605_5826.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_21589605_5826.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_21589605_5826.cpp:27:32: error: expected ')' before ';' token
0_0_21589605_5826.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_21589605_5826.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_21589605_5826.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_21589605_5826.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_21589605_5826.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_21589605_5826.cpp:29:32: error: expected ')' before ';' token
0_0_21589605_5826.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_21589605_5826.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
                                                                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-30 07:49:46, Gzip enabled