0_0_33827347_10025.cpp:13:1: error: expected initializer before 'int'
int mp[2009][2009];
^
0_0_33827347_10025.cpp: In function 'void dfs(int, int, int)':
0_0_33827347_10025.cpp:19:5: error: 'mp' was not declared in this scope
if(mp[x][y+1] != v-1)
^
0_0_33827347_10025.cpp:21:5: error: 'mp' was not declared in this scope
if(mp[x-1][y] != v-2)
^
0_0_33827347_10025.cpp:23:5: error: 'mp' was not declared in this scope
if(mp[x+1][y] != v-3)
^
0_0_33827347_10025.cpp:25:5: error: 'mp' was not declared in this scope
if(mp[x][y-1] != v-4)
^
0_0_33827347_10025.cpp:27:2: error: 'mp' was not declared in this scope
mp[x][y] = v;
^
0_0_33827347_10025.cpp: In function 'int main()':
0_0_33827347_10025.cpp:37:9: error: 'n' was not declared in this scope
cin >> n;
^
0_0_33827347_10025.cpp:38:9: error: 'mp' was not declared in this scope
memset(mp , 0 , sizeof(mp));
^
|