Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:13: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'double' [-Wformat=]
   10 | printf("%.9ld",c);
      |         ~~~~^  ~
      |             |  |
      |             |  double
      |             long int
      |         %.9f
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 140732471874288, expect 1.500000000. 2ms 384.0 KiB
#2 Wrong Answer Read 140729449890928, expect 0.578724380. 4ms 384.0 KiB
#3 Wrong Answer Read 140726848110640, expect 0.000546041. 2ms 396.0 KiB
#4 Wrong Answer Read 140736751635584, expect -0.059524511. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P2314 1.3.5:计算分数的浮点数值
语言
C++
递交时间
2022-07-21 22:14:03
评测时间
2022-07-21 22:14:03
评测机
分数
0
总耗时
11ms
峰值内存
396.0 KiB