0_0_14654432_22014.cpp: In function 'void dfs(int, int)':
0_0_14654432_22014.cpp:13:22: error: expected primary-expression before ']' token
int tx = x + ]dx[i], ty = y + dy[i];
^
0_0_14654432_22014.cpp:14:28: error: 'n' was not declared in this scope
if(tx >= 0 && tx < n && ty >= 0 && ty < m && !vis[tx][ty]){
^
0_0_14654432_22014.cpp:14:33: error: 'ty' was not declared in this scope
if(tx >= 0 && tx < n && ty >= 0 && ty < m && !vis[tx][ty]){
^
0_0_14654432_22014.cpp:14:49: error: 'm' was not declared in this scope
if(tx >= 0 && tx < n && ty >= 0 && ty < m && !vis[tx][ty]){
^
0_0_14654432_22014.cpp: In function 'void solve()':
0_0_14654432_22014.cpp:25:33: error: 'memset' was not declared in this scope
memset(dp, 0, sizeof(dp));
^
0_0_14654432_22014.cpp:43:21: error: expected primary-expression before '}' token
}
^
|