foo.c: In function 'FindiSecondMax':
foo.c:33:9: warning: variable 'smax' set but not used [-Wunused-but-set-variable]
int smax = 0;
^~~~
foo.c:23:9: warning: variable 'max' set but not used [-Wunused-but-set-variable]
int max = 0;
^~~
foo.c: In function 'main':
foo.c:10:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &m, &n);
^~~~~~~~~~~~~~~~~~~~~
foo.c:12:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^~~~~~~~~~~~~~~~~~
foo.c:14:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[j]);
^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务