foo.c:2:12: error: unknown type name 'iny'; did you mean 'int'?
2 | int output(iny a[1000],int n)
| ^~~
| int
foo.c: In function 'mian':
foo.c:15:3: warning: implicit declaration of function 'scsnf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
15 | scsnf("%d",&a[i]);
| ^~~~~
| scanf
foo.c:16:2: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration]
16 | output(a,n);
| ^~~~~~
foo.c:13:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d",&n);
| ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务