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
^
|