/in/foo.cc: In function 'int main()':
/in/foo.cc:9:5: error: 'inti' was not declared in this scope
for(inti=0;i<n;i++)
^~~~
/in/foo.cc:10:6: error: 'a' was not declared in this scope
cin>>a[i];for(i=n-1;i>=0;i--)
^
/in/foo.cc:9:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(inti=0;i<n;i++)
^~~
/in/foo.cc:10:11: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
cin>>a[i];for(i=n-1;i>=0;i--)
^~~
/in/foo.cc:11:7: error: 'a' was not declared in this scope
cout<<a[i]<<"";
^
/in/foo.cc:6:5: warning: unused variable 'A' [-Wunused-variable]
int A[MAXN];
^