0_0_33305944_20411.cpp: In function 'int main()':
0_0_33305944_20411.cpp:6:20: error: 'l' was not declared in this scope
while(scanf("%f",&l)!=EOF){
^
0_0_33305944_20411.cpp:10:12: error: 'dps' was not declared in this scope
dp[i]=0;dps[i]=0;
^
0_0_33305944_20411.cpp:14:23: error: 'dps' was not declared in this scope
dp[j]=max(dp[j-1],dps[j-1])+a[j];
^
0_0_33305944_20411.cpp:14:33: error: 'a' was not declared in this scope
dp[j]=max(dp[j-1],dps[j-1])+a[j];
^
|