0_0_35795549_22037.c: In function 'dfs':
0_0_35795549_22037.c:12:33: error: expected expression before '/' token
while(mat[i-dist][j]=='#') //向上寻找 #
^
0_0_35795549_22037.c:12:33: error: stray '\345' in program
0_0_35795549_22037.c:12:33: error: stray '\220' in program
0_0_35795549_22037.c:12:33: error: stray '\221' in program
0_0_35795549_22037.c:12:33: error: stray '\344' in program
0_0_35795549_22037.c:12:33: error: stray '\270' in program
0_0_35795549_22037.c:12:33: error: stray '\212' in program
0_0_35795549_22037.c:12:33: error: stray '\345' in program
0_0_35795549_22037.c:12:33: error: stray '\257' in program
0_0_35795549_22037.c:12:33: error: stray '\273' in program
0_0_35795549_22037.c:12:33: error: stray '\346' in program
0_0_35795549_22037.c:12:33: error: stray '\211' in program
0_0_35795549_22037.c:12:33: error: stray '\276' in program
0_0_35795549_22037.c:12:48: error: stray '#' in program
while(mat[i-dist][j]=='#') //向上寻找 #
^
0_0_35795549_22037.c:21:33: error: expected expression before '/' token
while(mat[i+dist][j]=='#') //向下寻找 #
^
0_0_35795549_22037.c:21:33: error: stray '\345' in program
0_0_35795549_22037.c:21:33: error: stray '\220' in program
0_0_35795549_22037.c:21:33: error: stray '\221' in program
0_0_35795549_22037.c:21:33: error: stray '\344' in program
0_0_35795549_22037.c:21:33: error: stray '\270' in program
0_0_35795549_22037.c:21:33: error: stray '\213' in program
0_0_35795549_22037.c:21:33: error: stray '\345' in program
0_0_35795549_22037.c:21:33: error: stray '\257' in program
0_0_35795549_22037.c:21:33: error: stray '\273' in program
0_0_35795549_22037.c:21:33: error: stray '\346' in program
0_0_35795549_22037.c:21:33: error: stray '\211' in program
0_0_35795549_22037.c:21:33: error: stray '\276' in program
0_0_35795549_22037.c:21:48: error: stray '#' in program
while(mat[i+dist][j]=='#') //向下寻找 #
^
0_0_35795549_22037.c:30:33: error: expected expression before '/' token
while(mat[i][j-dist]=='#') //向左寻找 #
^
0_0_35795549_22037.c:30:33: error: stray '\345' in program
0_0_35795549_22037.c:30:33: error: stray '\220' in program
0_0_35795549_22037.c:30:33: error: stray '\221' in program
0_0_35795549_22037.c:30:33: error: stray '\345' in program
0_0_35795549_22037.c:30:33: error: stray '\267' in program
0_0_35795549_22037.c:30:33: error: stray '\246' in program
0_0_35795549_22037.c:30:33: error: stray '\345' in program
0_0_35795549_22037.c:30:33: error: stray '\257' in program
0_0_35795549_22037.c:30:33: error: stray '\273' in program
0_0_35795549_22037.c:30:33: error: stray '\346' in program
0_0_35795549_22037.c:30:33: error: stray '\211' in program
0_0_35795549_22037.c:30:33: error: stray '\276' in program
0_0_35795549_22037.c:30:48: error: stray '#' in program
while(mat[i][j-dist]=='#') //向左寻找 #
^
0_0_35795549_22037.c:39:33: error: expected expression before '/' token
while(mat[i][j+dist]=='#') //向右寻找 #
^
0_0_35795549_22037.c:39:33: error: stray '\345' in program
0_0_35795549_22037.c:39:33: error: stray '\220' in program
0_0_35795549_22037.c:39:33: error: stray '\221' in program
0_0_35795549_22037.c:39:33: error: stray '\345' in program
0_0_35795549_22037.c:39:33: error: stray '\217' in program
0_0_35795549_22037.c:39:33: error: stray '\263' in program
0_0_35795549_22037.c:39:33: error: stray '\345' in program
0_0_35795549_22037.c:39:33: error: stray '\257' in program
0_0_35795549_22037.c:39:33: error: stray '\273' in program
0_0_35795549_22037.c:39:33: error: stray '\346' in program
0_0_35795549_22037.c:39:33: error: stray '\211' in program
0_0_35795549_22037.c:39:33: error: stray '\276' in program
0_0_35795549_22037.c:39:48: error: stray '#' in program
while(mat[i][j+dist]=='#') //向右寻找 #
^
0_0_35795549_22037.c: In function 'main':
0_0_35795549_22037.c:59:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n;i++)
^
0_0_35795549_22037.c:59:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_35795549_22037.c:61:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=1;j<=n;j++)
^
0_0_35795549_22037.c:66:17: error: redefinition of 'i'
for(int i=1;i<=n;i++)
^
0_0_35795549_22037.c:59:17: note: previous definition of 'i' was here
for(int i=1;i<=n;i++)
^
0_0_35795549_22037.c:66:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n;i++)
^
0_0_35795549_22037.c:68:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=1;j<=n;j++)
^
|