foo.c: In function 'main':
foo.c:20:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^~~~~~~~~~~~~~
foo.c: In function 'h':
foo.c:12:4: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i==m)
^
foo.c: In function 'main':
foo.c:12:4: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i==m)
^
foo.c:4:8: note: 'm' was declared here
int t,m,i;
^
[Hydro](https://hydro.ac)提供评测服务