Wrong Answer
foo.c: In function 'main':
foo.c:12:26: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
   12 |                 printf("%f",f);
      |                         ~^  ~
      |                          |  |
      |                          |  int
      |                          double
      |                         %d
foo.c:15:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
   15 |                         printf("%d",0.00);
      |                                 ~^  ~~~~
      |                                  |  |
      |                                  |  double
      |                                  int
      |                                 %f
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1085 xf1-8交电费
 - 比赛
 - 2022年迎新赛(第二场)
 - 语言
 - C
 - 递交时间
 - 2022-08-27 16:29:54
 - 评测时间
 - 2022-08-27 16:29:54
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 7ms
 - 峰值内存
 - 256.0 KiB