记录详情

Compile Error

foo.c: In function 'main':
foo.c:6:19: error: 'B' undeclared (first use in this function)
    6 |     printf("%d",d[B-A]);
      |                   ^
foo.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
foo.c:6:21: error: 'A' undeclared (first use in this function)
    6 |     printf("%d",d[B-A]);
      |                     ^
foo.c:5:8: warning: variable 'd' set but not used [-Wunused-but-set-variable]
    5 |    int d[2]={0,1};
      |        ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1000 语言学习
语言
C
递交时间
2021-12-28 22:28:30
评测时间
2021-12-28 22:28:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes