0_0_20375866_11994.cpp: In function 'int main()':
0_0_20375866_11994.cpp:27:45: error: 'max' was not declared in this scope
dp[i]=max(dp[i],dp[j]+num[i]);
^
0_0_20375866_11994.cpp:29:35: error: 'max' was not declared in this scope
dp[i]=max(dp[i],num[i]);
^
0_0_20375866_11994.cpp:33:30: error: 'max' was not declared in this scope
Max=max(Max,dp[i]);
^
|