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_17434458_27344.cpp: In function 'bool cheak(int, int)':
0_0_17434458_27344.cpp:16:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  if(si<1||si>m||sj<1||sj>n||map[si][sj]=='*')
                                          ^
0_0_17434458_27344.cpp: At global scope:
0_0_17434458_27344.cpp:23:21: error: redefinition of 'int sj'
 void dfs(int sj,int sj,int sk,int di,int dj,int dk,int cnt)
                     ^
0_0_17434458_27344.cpp:23:14: note: 'int sj' previously declared here
 void dfs(int sj,int sj,int sk,int di,int dj,int dk,int cnt)
              ^
0_0_17434458_27344.cpp: In function 'void dfs(int, int, int, int, int, int)':
0_0_17434458_27344.cpp:26:3: error: expected initializer before 'if'
   if(si==di&&sj==dj&&sk==dk&&cnt<=t)
   ^
0_0_17434458_27344.cpp:33:17: error: 'j' was not declared in this scope
   for(int i=0;i<j;i++)
                 ^
0_0_17434458_27344.cpp:35:7: error: 'si' was not declared in this scope
    xx=si+dir[i][0];
       ^
0_0_17434458_27344.cpp:36:4: error: 'yy' was not declared in this scope
    yy=sj+dir[i][1];
    ^
0_0_17434458_27344.cpp:44:10: error: 'si' was not declared in this scope
   if(map[si][sj][sk]=='#')
          ^
0_0_17434458_27344.cpp: In function 'int main()':
0_0_17434458_27344.cpp:68:2: error: 'si' was not declared in this scope
  si=i
  ^


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-07-05 04:37:03, Gzip enabled