foo.c: In function 'main':
foo.c:8:19: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
8 | scanf("%d",&n) ;
| ~^ ~~
| | |
| | long long int *
| int *
| %lld
foo.c:12:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
12 | scanf("%d",&arr[i]);
| ~^ ~~~~~~~
| | |
| | long long int *
| int *
| %lld
foo.c:28:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
28 | printf("%d ",arr[a]);
| ~^ ~~~~~~
| | |
| int long long int
| %lld
[Hydro](https://hydro.ac)提供评测服务