0_0_14686300_26972.cpp: In function 'int main()':
0_0_14686300_26972.cpp:13:29: error: 'a' was not declared in this scope
scanf("%d",&a[i][j]);
^
0_0_14686300_26972.cpp:3:31: error: expected ';' before 'int'
#define Smax(a,b) (a>b?a:b)int a[21][1005];
^
0_0_14686300_26972.cpp:19:28: note: in expansion of macro 'Smax'
dp[i][j] = Smax(dp[i-1][j],dp[i][j-1])+a[i][j];
^
0_0_14686300_26972.cpp:19:56: error: 'a' was not declared in this scope
dp[i][j] = Smax(dp[i-1][j],dp[i][j-1])+a[i][j];
^
|