foo.c: In function 'main':
foo.c:17:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &m, &n);
^~~~~~~~~~~~~~~~~~~~~
foo.c:20:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x[i][j]);
^~~~~~~~~~~~~~~~~~~~~
foo.c:39:7: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (t1 == m&&t2==n)end++;
^
[Hydro](https://hydro.ac)提供评测服务