foo.c:5:1: warning: return type defaults to 'int' [-Wimplicit-int]
5 | pd(int n)
| ^~
foo.c: In function 'main':
foo.c:58:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'char *' [-Wformat=]
58 | scanf("%d",&a[i]);
| ~^ ~~~~~
| | |
| | char *
| int *
| %hhd
foo.c:62:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'char *' [-Wformat=]
62 | scanf("%d",&b[i]);
| ~^ ~~~~~
| | |
| | char *
| int *
| %hhd
[Hydro](https://hydro.ac)提供评测服务