记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:6:17: warning: unknown conversion type character '.' in format [-Wformat=]
    6 |         scanf("%.2f %.2f %.2f",&a,&m,&k);
      |                 ^
foo.c:6:22: warning: unknown conversion type character '.' in format [-Wformat=]
    6 |         scanf("%.2f %.2f %.2f",&a,&m,&k);
      |                      ^
foo.c:6:27: warning: unknown conversion type character '.' in format [-Wformat=]
    6 |         scanf("%.2f %.2f %.2f",&a,&m,&k);
      |                           ^
foo.c:6:15: warning: too many arguments for format [-Wformat-extra-args]
    6 |         scanf("%.2f %.2f %.2f",&a,&m,&k);
      |               ^~~~~~~~~~~~~~~~
foo.c:13:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
   13 |         printf("%.2f",p);
      |                 ~~~^  ~
      |                    |  |
      |                    |  int
      |                    double
      |                 %.2d
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Wrong Answer Read 0.00, expect 1.14. 2ms 284.0 KiB
#3 Wrong Answer Read 0.00, expect 1643.30. 1ms 284.0 KiB
#4 Wrong Answer Read 0.00, expect 4.65. 1ms 284.0 KiB
#5 Accepted 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1085 xf1-8交电费
比赛
2023 程序设计与竞赛(作业1:见面赛)
语言
C
递交时间
2023-09-20 22:25:47
评测时间
2023-09-20 22:25:47
评测机
分数
40
总耗时
9ms
峰值内存
284.0 KiB