/in/foo.c: In function 'main':
/in/foo.c:9:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d %d",n,m);
^
/in/foo.c:9:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
scanf("%d %d",n,m);
^
/in/foo.c:10:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d %d",x1,x2);
^
/in/foo.c:10:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
scanf("%d %d",x1,x2);
^
/in/foo.c:11:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d %d",y1,y2);
^
/in/foo.c:11:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
scanf("%d %d",y1,y2);
^
/in/foo.c:12:6: error: 'i' undeclared (first use in this function)
for(i=0;i=<((y1-x1)/2);i++)
^
/in/foo.c:12:6: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:12:12: error: expected expression before '<' token
for(i=0;i=<((y1-x1)/2);i++)
^
/in/foo.c:14:7: error: 'j' undeclared (first use in this function)
for(j=1;j=<((y2-x2)/2;j++)
^
/in/foo.c:14:13: error: expected expression before '<' token
for(j=1;j=<((y2-x2)/2;j++)
^
/in/foo.c:21:2: error: expected expression before '}' token
}
^
/in/foo.c:21:2: error: expected expression before '}' token