记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:13: error: expected identifier or '(' before '[' token
    5 |         int [32];
      |             ^
foo.c:10:18: error: subscripted value is neither array nor pointer nor vector
   10 |                 y[b]=a;
      |                  ^
foo.c:15:31: error: 'i' undeclared (first use in this function)
   15 |                 printf("%d",a[i]);
      |                               ^
foo.c:15:31: note: each undeclared identifier is reported only once for each function it appears in
foo.c:4:11: warning: variable 'y' set but not used [-Wunused-but-set-variable]
    4 |     int x,y,a,b=0,q=2;
      |           ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1080 xf1-3进制转换1
语言
C
递交时间
2022-08-27 16:25:14
评测时间
2022-08-27 16:25:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes