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_21593795_23411.cpp:40:58: error: stray '#' in program
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                          ^
0_0_21593795_23411.cpp:40:62: error: stray '#' in program
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                              ^
0_0_21593795_23411.cpp:40:64: error: stray '#' in program
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                                ^
0_0_21593795_23411.cpp:40:120: error: stray '#' in program
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                                                                                        ^
0_0_21593795_23411.cpp:40:124: error: stray '#' in program
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                                                                                            ^
0_0_21593795_23411.cpp:40:126: error: stray '#' in program
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                                                                                              ^
0_0_21593795_23411.cpp:58:20: error: stray '#' in program
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                    ^
0_0_21593795_23411.cpp:58:24: error: stray '#' in program
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                        ^
0_0_21593795_23411.cpp:58:26: error: stray '#' in program
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                          ^
0_0_21593795_23411.cpp:58:44: error: stray '#' in program
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                                            ^
0_0_21593795_23411.cpp:58:48: error: stray '#' in program
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                                                ^
0_0_21593795_23411.cpp:58:50: error: stray '#' in program
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                                                  ^
0_0_21593795_23411.cpp:78:30: error: stray '#' in program
                 if(A[i][j]=='.'){
                              ^
0_0_21593795_23411.cpp:78:36: error: stray '#' in program
                 if(A[i][j]=='.'){
                                    ^
0_0_21593795_23411.cpp: In function 'void putspecial(point, int)':
0_0_21593795_23411.cpp:40:59: error: lvalue required as unary '&' operand
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                           ^
0_0_21593795_23411.cpp:40:61: error: expected ')' before ';' token
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                             ^
0_0_21593795_23411.cpp:40:65: error: lvalue required as unary '&' operand
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                                 ^
0_0_21593795_23411.cpp:40:71: error: expected ';' before '[' token
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                                       ^
0_0_21593795_23411.cpp:40:127: error: lvalue required as unary '&' operand
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                                                                                               ^
0_0_21593795_23411.cpp:40:130: error: expected primary-expression before ')' token
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                                                                                                  ^
0_0_21593795_23411.cpp:40:70: error: label 'A' used but not defined
     if(A[nx+d[direction][0][0]][ny+d[direction][0][1]]!='#'&&A[nx+d[direction][1][0]][ny+d[direction][1][1]]!='#'){
                                                                      ^
0_0_21593795_23411.cpp: In function 'void put(point)':
0_0_21593795_23411.cpp:58:21: error: lvalue required as unary '&' operand
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                     ^
0_0_21593795_23411.cpp:58:23: error: expected ')' before ';' token
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                       ^
0_0_21593795_23411.cpp:58:27: error: lvalue required as unary '&' operand
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                           ^
0_0_21593795_23411.cpp:58:33: error: expected ';' before '[' token
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                                 ^
0_0_21593795_23411.cpp:58:51: error: lvalue required as unary '&' operand
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                                                   ^
0_0_21593795_23411.cpp:58:54: error: expected primary-expression before ')' token
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                                                      ^
0_0_21593795_23411.cpp:58:32: error: label 'A' used but not defined
     if(A[x-1][y]!='#'&&A[x][y+1]!='#'){
                                ^
0_0_21593795_23411.cpp: In function 'int main()':
0_0_21593795_23411.cpp:78:31: error: lvalue required as unary '&' operand
                 if(A[i][j]=='.'){
                               ^
0_0_21593795_23411.cpp:78:33: error: expected ')' before ';' token
                 if(A[i][j]=='.'){
                                 ^
0_0_21593795_23411.cpp:78:34: error: expected primary-expression before '.' token
                 if(A[i][j]=='.'){
                                  ^
0_0_21593795_23411.cpp:78:35: error: expected unqualified-id before '&' token
                 if(A[i][j]=='.'){
                                   ^
0_0_21593795_23411.cpp:78:40: error: expected primary-expression before ')' token
                 if(A[i][j]=='.'){
                                        ^


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-12-03 16:53:23, Gzip enabled