记录详情

Compile Error

foo.c: In function 'main':
foo.c:9:13: error: 'i' undeclared (first use in this function)
    9 |         for(i=0,i;i<n;i++)
      |             ^
foo.c:9:13: note: each undeclared identifier is reported only once for each function it appears in
foo.c:9:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    9 |         for(i=0,i;i<n;i++)
      |                ^
foo.c:16:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   16 |         for(i=0,i;i<n;i++)
      |                ^
foo.c:22:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   22 |         for(i=0,i;i<n;i++)
      |                ^
foo.c:7:13: warning: variable 'b' set but not used [-Wunused-but-set-variable]
    7 |         int b[1000];
      |             ^
foo.c:6:13: warning: variable 'a' set but not used [-Wunused-but-set-variable]
    6 |         int a[1000];
      |             ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1084 xf1-7多项式求导
比赛
2023 程序设计与竞赛(作业1:见面赛)
语言
C
递交时间
2023-09-16 20:20:59
评测时间
2023-09-16 20:20:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes