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