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