记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:11:12: error: 'n' undeclared (first use in this function)
  for(i=0;i<n;i++)
            ^
/in/foo.c:11:12: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:7:20: warning: unused variable 'x' [-Wunused-variable]
  int list[10000],b,x,i;
                    ^
/in/foo.c: In function 'Output':
/in/foo.c:25:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
自测
题目
A7-1 数组的输出函数
语言
C
递交时间
2019-04-21 19:58:16
评测时间
2019-04-21 19:58:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes