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_21596232_27110.cpp:11:39: error: stray '#' in program
  if(x<0||y<0||x>=w||y>=h||map[x][y]=='.')
                                       ^
0_0_21596232_27110.cpp:11:45: error: stray '#' in program
  if(x<0||y<0||x>=w||y>=h||map[x][y]=='.')
                                             ^
0_0_21596232_27110.cpp:13:13: error: stray '#' in program
  map[x][y]='.';
             ^
0_0_21596232_27110.cpp:13:19: error: stray '#' in program
  map[x][y]='.';
                   ^
0_0_21596232_27110.cpp:34:19: error: stray '#' in program
    if(map[i][j]=='#')
                   ^
0_0_21596232_27110.cpp:34:23: error: stray '#' in program
    if(map[i][j]=='#')
                       ^
0_0_21596232_27110.cpp:34:25: error: stray '#' in program
    if(map[i][j]=='#')
                         ^
0_0_21596232_27110.cpp: In function 'void dfs(int, int)':
0_0_21596232_27110.cpp:11:40: error: lvalue required as unary '&' operand
  if(x<0||y<0||x>=w||y>=h||map[x][y]=='.')
                                        ^
0_0_21596232_27110.cpp:11:42: error: expected ')' before ';' token
  if(x<0||y<0||x>=w||y>=h||map[x][y]=='.')
                                          ^
0_0_21596232_27110.cpp:11:43: error: expected primary-expression before '.' token
  if(x<0||y<0||x>=w||y>=h||map[x][y]=='.')
                                           ^
0_0_21596232_27110.cpp:11:44: error: expected unqualified-id before '&' token
  if(x<0||y<0||x>=w||y>=h||map[x][y]=='.')
                                            ^
0_0_21596232_27110.cpp:11:49: error: expected primary-expression before ')' token
  if(x<0||y<0||x>=w||y>=h||map[x][y]=='.')
                                                 ^
0_0_21596232_27110.cpp:13:14: error: lvalue required as unary '&' operand
  map[x][y]='.';
              ^
0_0_21596232_27110.cpp:13:17: error: expected primary-expression before '.' token
  map[x][y]='.';
                 ^
0_0_21596232_27110.cpp:13:18: error: expected unqualified-id before '&' token
  map[x][y]='.';
                  ^
0_0_21596232_27110.cpp: In function 'int main()':
0_0_21596232_27110.cpp:34:20: error: lvalue required as unary '&' operand
    if(map[i][j]=='#')
                    ^
0_0_21596232_27110.cpp:34:22: error: expected ')' before ';' token
    if(map[i][j]=='#')
                      ^
0_0_21596232_27110.cpp:34:26: error: lvalue required as unary '&' operand
    if(map[i][j]=='#')
                          ^
0_0_21596232_27110.cpp:34:29: error: expected primary-expression before ')' token
    if(map[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-11-25 10:07:09, Gzip enabled