foo.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
3 | Input(int a[][N],int m,int n)
| ^~~~~
foo.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int]
26 | Output(int a[][N],int m,int n)
| ^~~~~~
foo.c: In function 'Input':
foo.c:8:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
8 | scanf("%d",&a[i][j]);
| ^~~~~~~~~~~~~~~~~~~~
foo.c:9:1: warning: control reaches end of non-void function [-Wreturn-type]
9 | }
| ^
foo.c: In function 'Output':
foo.c:35:1: warning: control reaches end of non-void function [-Wreturn-type]
35 | }
| ^
foo.c: In function 'main':
foo.c:40:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
40 | scanf("%d%d%d",&m,&n,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务