0_0_39586082_8978.cpp: In function 'int main()': 0_0_39586082_8978.cpp:23:9: error: 'a' was not declared in this scope 23 | a[i]=ans; | ^ 0_0_39586082_8978.cpp:27:15: error: 'a' was not declared in this scope 27 | cout<<a[n]<<endl; | ^