foo.c: In function 'main':
foo.c:3:22: warning: unused variable 'k' [-Wunused-variable]
3 | int n,a[100000],i,j,k,p,max[100000],maxx;
| ^
foo.c:3:20: warning: unused variable 'j' [-Wunused-variable]
3 | int n,a[100000],i,j,k,p,max[100000],maxx;
| ^
foo.c:3:18: warning: unused variable 'i' [-Wunused-variable]
3 | int n,a[100000],i,j,k,p,max[100000],maxx;
| ^
foo.c:4:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
4 | scanf("%d",&n);
| ^~~~~~~~~~~~~~
foo.c:6:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
6 | scanf("%d",&a[m]);
| ^~~~~~~~~~~~~~~~~
foo.c:17:6: warning: 'max[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
17 | maxx=max[0];
| ~~~~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务