Wrong Answer

foo.cc: In function 'int main()':
foo.cc:28:13: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
   28 |  printf("%.2f",a);
      |          ~~~^  ~
      |             |  |
      |             |  int
      |             double
      |          %.2d
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.00, expect 320.00. 2ms 384.0 KiB
#2 Wrong Answer Read 0.00, expect 717.72. 1ms 384.0 KiB
#3 Wrong Answer Read 0.00, expect 1158.12. 2ms 384.0 KiB
#4 Wrong Answer Read 0.00, expect 1275.00. 1ms 384.0 KiB
#5 Wrong Answer Read 0.00, expect 2300.80. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1026 超市促销活动
语言
C++
递交时间
2021-12-14 21:15:10
评测时间
2021-12-14 21:15:10
评测机
分数
0
总耗时
10ms
峰值内存
384.0 KiB