Compile Error
foo.c: In function 'main': foo.c:15:39: error: 'static_cast' undeclared (first use in this function) 15 | price = (double)((a / static_cast<double>(20) - m) * k); | ^~~~~~~~~~~ foo.c:15:39: note: each undeclared identifier is reported only once for each function it appears in foo.c:15:51: error: expected expression before 'double' 15 | price = (double)((a / static_cast<double>(20) - m) * k); | ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1085 xf1-8交电费
- 比赛
- 2022年迎新赛(第二场)
- 语言
- C
- 递交时间
- 2022-08-27 18:42:14
- 评测时间
- 2022-08-27 18:42:14
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes