记录详情

Compile Error

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)提供评测服务

信息

递交者
类型
递交
比赛
2021(四) 作业第三场:热身赛
语言
C
递交时间
2021-11-15 19:10:14
评测时间
2021-11-15 19:10:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes