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_21582987_20460.cpp:79:36: error: stray '#' in program
                 if(a[maps[i][j] - 'A'][0] == 1 && a[maps[i][j-1] - 'A'][2]== 1 && j > 0)
                                    ^
0_0_21582987_20460.cpp:79:42: error: stray '#' in program
                 if(a[maps[i][j] - 'A'][0] == 1 && a[maps[i][j-1] - 'A'][2]== 1 && j > 0)
                                          ^
0_0_21582987_20460.cpp:79:77: error: stray '#' in program
                 if(a[maps[i][j] - 'A'][0] == 1 && a[maps[i][j-1] - 'A'][2]== 1 && j > 0)
                                                                             ^
0_0_21582987_20460.cpp:79:83: error: stray '#' in program
                 if(a[maps[i][j] - 'A'][0] == 1 && a[maps[i][j-1] - 'A'][2]== 1 && j > 0)
                                                                                   ^
0_0_21582987_20460.cpp:81:36: error: stray '#' in program
                 if(a[maps[i][j] - 'A'][1] == 1 && a[maps[i-1][j] - 'A'][3] == 1 && i > 0)
                                    ^
0_0_21582987_20460.cpp:81:42: error: stray '#' in program
                 if(a[maps[i][j] - 'A'][1] == 1 && a[maps[i-1][j] - 'A'][3] == 1 && i > 0)
                                          ^
0_0_21582987_20460.cpp:81:77: error: stray '#' in program
                 if(a[maps[i][j] - 'A'][1] == 1 && a[maps[i-1][j] - 'A'][3] == 1 && i > 0)
                                                                             ^
0_0_21582987_20460.cpp:81:83: error: stray '#' in program
                 if(a[maps[i][j] - 'A'][1] == 1 && a[maps[i-1][j] - 'A'][3] == 1 && i > 0)
                                                                                   ^
0_0_21582987_20460.cpp: In function 'int main()':
0_0_21582987_20460.cpp:79:37: error: lvalue required as unary '&' operand
                 if(a[maps[i][j] - 'A'][0] == 1 && a[maps[i][j-1] - 'A'][2]== 1 && j > 0)
                                     ^
0_0_21582987_20460.cpp:79:39: error: expected ']' before ';' token
                 if(a[maps[i][j] - 'A'][0] == 1 && a[maps[i][j-1] - 'A'][2]== 1 && j > 0)
                                       ^
0_0_21582987_20460.cpp:79:39: error: expected ')' before ';' token
0_0_21582987_20460.cpp:79:40: error: 'A' was not declared in this scope
                 if(a[maps[i][j] - 'A'][0] == 1 && a[maps[i][j-1] - 'A'][2]== 1 && j > 0)
                                        ^
0_0_21582987_20460.cpp:79:46: error: expected primary-expression before ']' token
                 if(a[maps[i][j] - 'A'][0] == 1 && a[maps[i][j-1] - 'A'][2]== 1 && j > 0)
                                              ^
0_0_21582987_20460.cpp:79:87: error: expected primary-expression before ']' token
                 if(a[maps[i][j] - 'A'][0] == 1 && a[maps[i][j-1] - 'A'][2]== 1 && j > 0)
                                                                                       ^
0_0_21582987_20460.cpp:81:37: error: lvalue required as unary '&' operand
                 if(a[maps[i][j] - 'A'][1] == 1 && a[maps[i-1][j] - 'A'][3] == 1 && i > 0)
                                     ^
0_0_21582987_20460.cpp:81:39: error: expected ']' before ';' token
                 if(a[maps[i][j] - 'A'][1] == 1 && a[maps[i-1][j] - 'A'][3] == 1 && i > 0)
                                       ^
0_0_21582987_20460.cpp:81:39: error: expected ')' before ';' token
0_0_21582987_20460.cpp:81:46: error: expected primary-expression before ']' token
                 if(a[maps[i][j] - 'A'][1] == 1 && a[maps[i-1][j] - 'A'][3] == 1 && i > 0)
                                              ^
0_0_21582987_20460.cpp:81:87: error: expected primary-expression before ']' token
                 if(a[maps[i][j] - 'A'][1] == 1 && a[maps[i-1][j] - 'A'][3] == 1 && i > 0)
                                                                                       ^


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 05:36:31, Gzip enabled