0_0_26210558_31401.cpp: In function 'int main()':
0_0_26210558_31401.cpp:4:14: error: 'a' was not declared in this scope
#define max (a>b?a:b)
^
0_0_26210558_31401.cpp:30:10: note: in expansion of macro 'max'
dp[j]=max(dp[j],dp[j-v[i]]+v[i]);
^
0_0_26210558_31401.cpp:4:16: error: 'b' was not declared in this scope
#define max (a>b?a:b)
^
0_0_26210558_31401.cpp:30:10: note: in expansion of macro 'max'
dp[j]=max(dp[j],dp[j-v[i]]+v[i]);
^
|