0_0_34040310_23443.cpp:11:1: error: expected initializer before 'int'
int judge(int x , int y)
^
0_0_34040310_23443.cpp: In function 'int dfs(int, int)':
0_0_34040310_23443.cpp:21:5: error: 'dp' was not declared in this scope
if(dp[x][y] >= 0)
^
0_0_34040310_23443.cpp:24:2: error: 'dp' was not declared in this scope
dp[x][y] = 0;
^
0_0_34040310_23443.cpp:31:22: error: 'judge' was not declared in this scope
if(judge(x+i , y+j))
^
0_0_34040310_23443.cpp: In function 'int main()':
0_0_34040310_23443.cpp:56:5: error: 'dp' was not declared in this scope
dp[i][j] = -1;
^
0_0_34040310_23443.cpp:59:3: error: 'dp' was not declared in this scope
dp[n][m] = 1;
^
|