0_0_38245370_16474.cpp: In function 'int canret(int, int)':
0_0_38245370_16474.cpp:11:3: error: 'ans' was not declared in this scope
ans=max(ans,canret(x+add[i][0],y+add[i][1])
^
0_0_38245370_16474.cpp:12:2: error: expected ')' before '}' token
}
^
0_0_38245370_16474.cpp: In function 'int dfs(int, int)':
0_0_38245370_16474.cpp:18:3: error: 'ans' was not declared in this scope
ans=max(ans,canret(x+add[i][0],y+add[i][1]));
^
|