foo.c: In function 'main':
foo.c:9:14: warning: format '%lf' expects argument of type 'double *', but argument 2 has type 'int *' [-Wformat=]
scanf("%lf %lf",&n,&m);
~~^ ~~
%d
foo.c:9:18: warning: format '%lf' expects argument of type 'double *', but argument 3 has type 'float *' [-Wformat=]
scanf("%lf %lf",&n,&m);
~~^ ~~
%f
foo.c: In function 'score':
foo.c:21:19: warning: format '%lf' expects argument of type 'double *', but argument 2 has type 'float *' [-Wformat=]
scanf("%lf",&a[h][l]);
~~^ ~~~~~~~~
%f
foo.c: In function 'main':
foo.c:9:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf",&n,&m);
^~~~~~~~~~~~~~~~~~~~~~
foo.c: In function 'score':
foo.c:21:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&a[h][l]);
^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务