In function 'FindMin',
inlined from 'main' at foo.c:22:4:
foo.c:5:15: warning: array subscript 0 is outside array bounds of 'unsigned char[0]' [-Warray-bounds]
5 | int i,min=pa[0];
| ^~~
foo.c: In function 'main':
foo.c:16:21: note: object 'number.20' of size 0
16 | int n=0;int number[n];
| ^~~~~~
In function 'FindMin',
inlined from 'main' at foo.c:22:4:
foo.c:8:22: warning: array subscript [1, 2147483646] is outside array bounds of 'unsigned char[0]' [-Warray-bounds]
8 | if(pa[i]<min)
| ~~^~~
foo.c: In function 'main':
foo.c:16:21: note: at offset [4, 8589934584] into object 'number.20' of size 0
16 | int n=0;int number[n];
| ^~~~~~
foo.c:20:17: warning: array subscript i is outside array bounds of 'int[<U22d0>]' [-Warray-bounds]
20 | scanf("%d",&number[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
foo.c:16:21: note: while referencing 'number.20'
16 | int n=0;int number[n];
| ^~~~~~
[Hydro](https://hydro.ac)提供评测服务