Wrong Answer
foo.cc: In function ‘int main()’: foo.cc:7:21: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=] 7 | printf("%.9lf",a/b); | ~~~~^ ~~~ | | | | | int | double | %.9d
信息
- 递交者
- 类型
- 递交
- 题目
- P2314 1.3.5:计算分数的浮点数值
- 语言
- C++
- 递交时间
- 2025-07-17 08:05:39
- 评测时间
- 2025-07-17 12:51:18
- 评测机
- 分数
- 0
- 总耗时
- 10ms
- 峰值内存
- 752.0 KiB