/in/foo.cc: In function 'int main()':
/in/foo.cc:6:2: error: 'cin' was not declared in this scope
cin>>n>>m>>x>>y>>x1>>y1;
^~~
/in/foo.cc:6:2: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0,
from /in/foo.cc:1:
/usr/include/c++/6/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^~~
/in/foo.cc:9: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:9: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:9: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:9: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:9: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:12:13: error: invalid types 'int[int]' for array subscript
if(a[x1][y1]==0){
^
/in/foo.cc:13:3: error: 'cout' was not declared in this scope
cout<<"NO";
^~~~
/in/foo.cc:13:3: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0,
from /in/foo.cc:1:
/usr/include/c++/6/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^~~~
/in/foo.cc:15:3: error: 'cout' was not declared in this scope
cout<<a[x1][y1]<<"00000000";
^~~~
/in/foo.cc:15:3: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0,
from /in/foo.cc:1:
/usr/include/c++/6/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^~~~
/in/foo.cc:15:17: error: invalid types 'int[int]' for array subscript
cout<<a[x1][y1]<<"00000000";
^