0_0_37252270_7057.cpp: In function 'int main()':
0_0_37252270_7057.cpp:15:25: error: 'memset' was not declared in this scope
memset(dp,0,sizeof(dp));
^
0_0_37252270_7057.cpp:27:4: error: 'ans' was not declared in this scope
ans=max(ans,dp[i]);
^
0_0_37252270_7057.cpp:29:3: error: 'ans' was not declared in this scope
ans=0;
^
|