foo.c: In function 'main':
foo.c:9:21: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
9 | scanf("%d",a[i][j]);
| ~^ ~~~~~~~
| | |
| int * int
foo.c:6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
6 | scanf("%d%d",&n,&m);
| ^~~~~~~~~~~~~~~~~~~
foo.c:9:13: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d",a[i][j]);
| ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务