0_0_28354855_29018.cpp: In function 'int main()':
0_0_28354855_29018.cpp:8:16: error: 'dp' was not declared in this scope
memset(dp, 0 ,sizeof dp);
^
0_0_28354855_29018.cpp:10:20: error: 'a' was not declared in this scope
cin >> a[i];
^
0_0_28354855_29018.cpp:11:19: error: 'minn' was not declared in this scope
int ans = minn;
^
0_0_28354855_29018.cpp:16:20: error: 'a' was not declared in this scope
if(a[i] > a[j])
^
0_0_28354855_29018.cpp:19:21: error: 'a' was not declared in this scope
dp[i] = a[i]+ ans;
^
|