0_0_17523838_26285.cpp:14:1: error: stray '\243' in program
int tmp[10][10]£»
^
0_0_17523838_26285.cpp:14:1: error: stray '\273' in program
0_0_17523838_26285.cpp:15:1: error: expected initializer before 'int'
int dx[4]= {-1,0,0,1},dy[4]= {0,-1,1,0};
^
0_0_17523838_26285.cpp:15:22: error: expected unqualified-id before ',' token
int dx[4]= {-1,0,0,1},dy[4]= {0,-1,1,0};
^
0_0_17523838_26285.cpp:15:28: error: expected constructor, destructor, or type conversion before '=' token
int dx[4]= {-1,0,0,1},dy[4]= {0,-1,1,0};
^
0_0_17523838_26285.cpp: In function 'void dfs(int, int)':
0_0_17523838_26285.cpp:22:2: error: 'tmp' was not declared in this scope
tmp[x][y] = 1;
^
0_0_17523838_26285.cpp:25:16: error: 'dx' was not declared in this scope
int tx = x + dx[i];
^
0_0_17523838_26285.cpp:26:22: error: 'dy' was not declared in this scope
int ty = y + dy[i];
^
0_0_17523838_26285.cpp: In function 'int main()':
0_0_17523838_26285.cpp:44:10: error: 'tmp' was not declared in this scope
memset(tmp,0,sizeof(tmp));
^
|