记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:8: error: 'N' undeclared (first use in this function)
  int a[N],i;
        ^
/in/foo.c:8:8: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:9:8: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  a[1]=1,a[2]=1;
        ^
/in/foo.c:8:6: warning: unused variable 'a' [-Wunused-variable]
  int a[N],i;
      ^

信息

递交者
类型
递交
题目
1-2 斐波那契数列的和
比赛
中北 计算机2021级专业修读指导(2)
语言
C
递交时间
2021-12-07 19:06:33
评测时间
2021-12-07 19:06:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes