/in/foo.cc: In function 'int main()':
/in/foo.cc:8:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&n,&m);
^
/in/foo.cc:8:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
/in/foo.cc:9:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&x1,&y1);
^
/in/foo.cc:9:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
/in/foo.cc:10:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&x2,&y2);
^
/in/foo.cc:10:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]