foo.cc: In function 'int main()':
foo.cc:5:17: error: 'N' was not declared in this scope
int n;int a[N],b[N],x[N],y[N];
^
foo.cc:7:23: error: 'a' was not declared in this scope
{ scanf("%d%d%d%d", &a[i],&b[i],&x[i],&y[i]);
^
foo.cc:7:29: error: 'b' was not declared in this scope
{ scanf("%d%d%d%d", &a[i],&b[i],&x[i],&y[i]);
^
foo.cc:7:35: error: 'x' was not declared in this scope
{ scanf("%d%d%d%d", &a[i],&b[i],&x[i],&y[i]);
^
foo.cc:7:41: error: 'y' was not declared in this scope
{ scanf("%d%d%d%d", &a[i],&b[i],&x[i],&y[i]);
^
foo.cc:12:8: error: 'a' was not declared in this scope
if( X<=a[i]+x[i]&&X>=a[i]&&Y>=b[i]&&Y<=b[i]+y[i])
^
foo.cc:12:13: error: 'x' was not declared in this scope
if( X<=a[i]+x[i]&&X>=a[i]&&Y>=b[i]&&Y<=b[i]+y[i])
^
foo.cc:12:31: error: 'b' was not declared in this scope
if( X<=a[i]+x[i]&&X>=a[i]&&Y>=b[i]&&Y<=b[i]+y[i])
^
foo.cc:12:45: error: 'y' was not declared in this scope
if( X<=a[i]+x[i]&&X>=a[i]&&Y>=b[i]&&Y<=b[i]+y[i])
^
[Hydro](https://hydro.ac)提供评测服务