foo.c: In function 'main':
foo.c:47:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
47 | scanf("%d%d",&l,&m);
| ~^ ~~
| | |
| | long int *
| int *
| %ld
foo.c:47:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
47 | scanf("%d%d",&l,&m);
| ~^ ~~
| | |
| int * long int *
| %ld
foo.c:108:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
108 | printf("%d %d\n",couts,biao);
| ~^ ~~~~~
| | |
| int long int
| %ld
foo.c:108:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
108 | printf("%d %d\n",couts,biao);
| ~^ ~~~~
| | |
| int long int
| %ld
[Hydro](https://hydro.ac)提供评测服务