foo.c: In function 'main':
foo.c:11:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
11 | printf("%d %d %d %d %d",x,y,a,b,c);
| ~^ ~
| | |
| int long int
| %ld
foo.c:11:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
11 | printf("%d %d %d %d %d",x,y,a,b,c);
| ~^ ~
| | |
| int long int
| %ld
foo.c:11:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
11 | printf("%d %d %d %d %d",x,y,a,b,c);
| ~^ ~
| | |
| int long int
| %ld
foo.c:11:27: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
11 | printf("%d %d %d %d %d",x,y,a,b,c);
| ~^ ~
| | |
| int long int
| %ld
foo.c:11:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
11 | printf("%d %d %d %d %d",x,y,a,b,c);
| ~^ ~
| | |
| int long int
| %ld
[Hydro](https://hydro.ac)提供评测服务