foo.cc: In function 'int main()':
foo.cc:21:9: error: 'i' was not declared in this scope
a[i][a[1][jj]]=k
^
foo.cc: At global scope:
foo.cc:31:2: error: expected unqualified-id before '.' token
}.
^
foo.cc:61:15: error: redefinition of 'int a [201][201]'
int a[201][201],n,t,jj;
^
foo.cc:3:5: note: 'int a [201][201]' previously declared here
int a[201][201],n,t,jj;
^
foo.cc:61:17: error: redefinition of 'int n'
int a[201][201],n,t,jj;
^
foo.cc:3:17: note: 'int n' previously declared here
int a[201][201],n,t,jj;
^
foo.cc:61:19: error: redefinition of 'int t'
int a[201][201],n,t,jj;
^
foo.cc:3:19: note: 'int t' previously declared here
int a[201][201],n,t,jj;
^
foo.cc:61:21: error: redefinition of 'int jj'
int a[201][201],n,t,jj;
^~
foo.cc:3:21: note: 'int jj' previously declared here
int a[201][201],n,t,jj;
^~
foo.cc: In function 'int main()':
foo.cc:62:5: error: redefinition of 'int main()'
int main(){
^~~~
foo.cc:4:5: note: 'int main()' previously defined here
int main(){
^~~~
foo.cc:79:9: error: 'i' was not declared in this scope
a[i][a[1][jj]]=k;
^
[Hydro](https://hydro.ac)提供评测服务