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 140734882373104, expect 1.500000000. 2ms 384.0 KiB
#2 Wrong Answer Read 140727555060096, expect 0.578724380. 2ms 384.0 KiB
#3 Wrong Answer Read 140724229809488, expect 0.000546041. 2ms 512.0 KiB
#4 Wrong Answer Read 140734662474896, expect -0.059524511. 2ms 384.0 KiB

信息

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