0_0_36353110_4795.cpp:5:1: error: expected initializer before 'int'
int res[N][N];
^
0_0_36353110_4795.cpp: In function 'int main()':
0_0_36353110_4795.cpp:20:17: error: 'res' was not declared in this scope
scanf("%d",&res[i][j]);
^
0_0_36353110_4795.cpp:28:5: error: 'mp' was not declared in this scope
mp[i][j] = (res[i][j] < res[i-1][j]);
^
0_0_36353110_4795.cpp:28:17: error: 'res' was not declared in this scope
mp[i][j] = (res[i][j] < res[i-1][j]);
^
0_0_36353110_4795.cpp:42:8: error: 'mp' was not declared in this scope
if(mp[i][j] == 0 && mp[i][j-1] == 0)
^
0_0_36353110_4795.cpp:50:8: error: 'mp' was not declared in this scope
if(mp[i][j] == 0 && mp[i][j+1] == 0)
^
0_0_36353110_4795.cpp:59:18: error: 'mp' was not declared in this scope
if (i > 1 && mp[i][j] == 0 && mp[i - 1][j] == 0)
^
|