foo.c: In function 'main':
foo.c:6:12: warning: unused variable 't' [-Wunused-variable]
6 | int n,i,j,t,k=0,a[10001];
| ^
foo.c:6:10: warning: unused variable 'j' [-Wunused-variable]
6 | int n,i,j,t,k=0,a[10001];
| ^
foo.c: In function 'select':
foo.c:16:10: warning: unused variable 'k' [-Wunused-variable]
16 | int i,j,k,t=0,m,q=0;
| ^
foo.c: In function 'main':
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
7 | scanf("%d",&n);
| ^~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d",&a[i]);
| ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务