foo.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
include<stdio.h> include<stdlib.h> include<string.h>
^
foo.c:5:2: warning: data definition has no type or storage class
}l[200],r[200],ll[200],rr[200];
^
foo.c:5:2: warning: type defaults to 'int' in declaration of 'l' [-Wimplicit-int]
foo.c:5:9: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int]
}l[200],r[200],ll[200],rr[200];
^
foo.c:5:16: warning: type defaults to 'int' in declaration of 'll' [-Wimplicit-int]
}l[200],r[200],ll[200],rr[200];
^
foo.c:5:24: warning: type defaults to 'int' in declaration of 'rr' [-Wimplicit-int]
}l[200],r[200],ll[200],rr[200];
^
foo.c: In function 'main':
foo.c:13:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d",&n);
^
foo.c:13:1: warning: incompatible implicit declaration of built-in function 'scanf'
foo.c:16:23: error: request for member 'x' in something not a structure or union
scanf("%d%d%d%d",&l[i].x,&l[i].y,&r[i].x,&r[i].y);
^
foo.c:16:31: error: request for member 'y' in something not a structure or union
scanf("%d%d%d%d",&l[i].x,&l[i].y,&r[i].x,&r[i].y);
^
foo.c:16:39: error: request for member 'x' in something not a structure or union
scanf("%d%d%d%d",&l[i].x,&l[i].y,&r[i].x,&r[i].y);
^
foo.c:16:47: error: request for member 'y' in something not a structure or union
scanf("%d%d%d%d",&l[i].x,&l[i].y,&r[i].x,&r[i].y);
^
foo.c:17:3: error: array subscript is not an integer
xp[2i-1]=l[i].x;
^
foo.c:17:14: error: request for member 'x' in something not a structure or union
xp[2i-1]=l[i].x;
^
foo.c:18:3: error: array subscript is not an integer
xp[2i]=r[i].x;
^
foo.c:18:12: error: request for member 'x' in something not a structure or union
xp[2i]=r[i].x;
^
foo.c:19:3: error: array subscript is not an integer
yp[2i-1]=l[i].y;
^
foo.c:19:14: error: request for member 'y' in something not a structure or union
yp[2i-1]=l[i].y;
^
foo.c:20:3: error: array subscript is not an integer
yp[2i]=r[i].y;
^
foo.c:20:12: error: request for member 'y' in something not a structure or union
yp[2i]=r[i].y;
^
foo.c:22:13: error: invalid suffix "n" on integer constant
for (i=1;i<=2n;i++)
^
foo.c:23:15: error: invalid suffix "n" on integer constant
for (j=i+1;j<=2n;j++)
^
foo.c:37:9: error: request for member 'x' in something not a structure or union
if (l[i].x==xp[j]) ll[i].x=j;
^
foo.c:37:25: error: request for member 'x' in something not a structure or union
if (l[i].x==xp[j]) ll[i].x=j;
^
foo.c:38:9: error: request for member 'y' in something not a structure or union
if (l[i].y==yp[j]) ll[i].y=j;
^
foo.c:38:25: error: request for member 'y' in something not a structure or union
if (l[i].y==yp[j]) ll[i].y=j;
^
foo.c:39:9: error: request for member 'x' in something not a structure or union
if (r[i].x==xp[j]) rr[i].x=j;
^
foo.c:39:25: error: request for member 'x' in something not a structure or union
if (r[i].x==xp[j]) rr[i].x=j;
^
foo.c:40:9: error: request for member 'y' in something not a structure or union
if (r[i].y==yp[j]) rr[i].y=j;
^
foo.c:40:25: error: request for member 'y' in something not a structure or union
if (r[i].y==yp[j]) rr[i].y=j;
^
foo.c:42:1: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
memset(b1,0,sizeof(b1));
^
foo.c:42:1: warning: incompatible implicit declaration of built-in function 'memset'
foo.c:45:13: error: request for member 'y' in something not a structure or union
for (j=ll[i].y;j<rr[i].y;j++)
^
foo.c:45:23: error: request for