foo.c: In function 'main':
foo.c:14:13: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
~^ ~~
%ld
foo.c:14:15: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
~^ ~~
%ld
foo.c:14:17: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long int *' [-Wformat=]
scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
~^ ~~
%ld
foo.c:14:19: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long int *' [-Wformat=]
scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
~^ ~~
%ld
foo.c:14:21: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'long int *' [-Wformat=]
scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
~^ ~~
%ld
foo.c:24:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d",ans);
~^
%ld
foo.c:14:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:19:12: warning: 'len1' may be used uninitialized in this function [-Wmaybe-uninitialized]
l=l/c;
~^~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。