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 140731763819840, expect 1.500000000. 3ms 384.0 KiB
#2 Wrong Answer Read 140724838360384, expect 0.578724380. 3ms 384.0 KiB
#3 Wrong Answer Read 140735945006512, expect 0.000546041. 2ms 384.0 KiB
#4 Wrong Answer Read 140728790258096, expect -0.059524511. 2ms 384.0 KiB

信息

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