0_0_35350775_18363.cpp: In function 'int main()':
0_0_35350775_18363.cpp:5:33: error: expression cannot be used as a function
#define MAX(x,y) (((x) > (y)) (x) : (y))
^
0_0_35350775_18363.cpp:25:32: note: in expansion of macro 'MAX'
dp[i][j] = MAX(dp[i - 1][j], dp[i][j - 1]);
^
0_0_35350775_18363.cpp:5:35: error: expected ')' before ':' token
#define MAX(x,y) (((x) > (y)) (x) : (y))
^
0_0_35350775_18363.cpp:25:32: note: in expansion of macro 'MAX'
dp[i][j] = MAX(dp[i - 1][j], dp[i][j - 1]);
^
|