0_0_15664551_22648.cpp: In function 'int main()':
0_0_15664551_22648.cpp:13:9: error: 'arr' was not declared in this scope
cin>>arr[i];
^
0_0_15664551_22648.cpp:18:4: error: 'dp' was not declared in this scope
dp[0][i] = 0;
^
0_0_15664551_22648.cpp:26:5: error: 'dp' was not declared in this scope
dp[l][i] = 0;
^
0_0_15664551_22648.cpp:29:9: error: 'arr' was not declared in this scope
if(arr[i]>arr[j])
^
0_0_15664551_22648.cpp:38:9: error: 'dp' was not declared in this scope
sum+=dp[k][i];
^
|