0_0_37759660_6082.cpp: In function 'int main()': 0_0_37759660_6082.cpp:20:13: error: 'i' was not declared in this scope for(p[0]=1;i<N*2;i++)p[i]=p[i-1]*S; ^