Compile Error
/in/foo.c: In function 'main':
/in/foo.c:8:17: error: 'sum' undeclared (first use in this function); did you mean 'sun'?
8 | sum+=(double)a/b;
| ^~~
| sun
/in/foo.c:8:17: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:12: warning: unused variable 'sun' [-Wunused-variable]
5 | double sun=0.0;
| ^~~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2025-11-20 16:17:25
- 评测时间
- 2025-11-20 16:17:25
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes