foo.c: In function 'bamian':
foo.c:73:124: error: called object 'x' is not a function or function pointer
if (yx(x, i, j) == 1 && s(x, i, j) == 1 && ys(x, i, j) == 1 && y(x, i, j) == 1 && zs(x, i, j) == 1 && zx(x, i, j) == 1 && x(x, i, j) == 1 && z(x, i, j) == 1)
^
foo.c:71:16: note: declared here
int bamian(int x, int i, int j)
^
foo.c: In function 'main':
foo.c:80:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &m, &n);
^~~~~~~~~~~~~~~~~~~~~
foo.c:83:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务