0_0_36538109_12584.cpp: In function 'int main()':
0_0_36538109_12584.cpp:22:24: error: 'ans' was not declared in this scope
counts=max(ans,v[i]);
^
0_0_36538109_12584.cpp:42:30: error: 'ans' was not declared in this scope
counts = max(ans, dp[j][k]);
^
|