/in/foo.cc: In function 'int main()':
/in/foo.cc:10:10: error: invalid types 'int[int]' for array subscript
a[i][j]=a[i+1][j+2]+a[i+1][j-2]+a[i+2][j-1]+a[i+2][j+1];
^
/in/foo.cc:10:22: error: invalid types 'int[int]' for array subscript
a[i][j]=a[i+1][j+2]+a[i+1][j-2]+a[i+2][j-1]+a[i+2][j+1];
^
/in/foo.cc:10:34: error: invalid types 'int[int]' for array subscript
a[i][j]=a[i+1][j+2]+a[i+1][j-2]+a[i+2][j-1]+a[i+2][j+1];
^
/in/foo.cc:10:46: error: invalid types 'int[int]' for array subscript
a[i][j]=a[i+1][j+2]+a[i+1][j-2]+a[i+2][j-1]+a[i+2][j+1];
^
/in/foo.cc:10:58: error: invalid types 'int[int]' for array subscript
a[i][j]=a[i+1][j+2]+a[i+1][j-2]+a[i+2][j-1]+a[i+2][j+1];
^
/in/foo.cc:13:13: error: invalid types 'int[int]' for array subscript
if(a[x1][y1]==0){
^
/in/foo.cc:16:17: error: invalid types 'int[int]' for array subscript
cout<<a[x1][y1]<<"00000000";
^