Compile Error
/in/foo.c: In function 'main': /in/foo.c:10:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] printf("%d",(-b)/c); ^ /in/foo.c:28:24: error: 'i' undeclared (first use in this function) x1=(-b+sqrt(-delta))*i/(2*a); ^ /in/foo.c:28:24: note: each undeclared identifier is reported only once for each function it appears in
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2024-11-08 21:41:28
- 评测时间
- 2024-11-08 21:41:28
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes