Compile Error
/in/foo.c: In function 'main': /in/foo.c:11:3: error: 'sun' undeclared (first use in this function) sun+=i; ^~~ /in/foo.c:11:3: note: each undeclared identifier is reported only once for each function it appears in /in/foo.c:6:6: warning: unused variable 'sum' [-Wunused-variable] int sum=0; ^~~
信息
- 递交者
- 类型
- 自测
- 题目
- A2-1 循环结构入门:数列求和
- 语言
- C
- 递交时间
- 2024-10-25 18:10:49
- 评测时间
- 2024-10-25 18:10:49
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes