0_0_33212199_20326.cpp: In function 'int main()': 0_0_33212199_20326.cpp:10:20: error: 'i' was not declared in this scope pow1_q[i] = pow1_q[i-1]*(1-q); ^