0_0_33192393_2407.cpp: In function 'int main()': 0_0_33192393_2407.cpp:36:11: error: 'a' was not declared in this scope cin >> a[i]; ^ 0_0_33192393_2407.cpp:37:4: error: 'dp' was not declared in this scope dp[i] = 1; ^