Wrong Answer

foo.cc: In function 'int main()':
foo.cc:30:14: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
   30 |  printf("%.2lf%",t/l);
      |          ~~~~^   ~~~
      |              |    |
      |              |    int
      |              double
      |          %.2d
foo.cc:30:15: warning: spurious trailing '%' in format [-Wformat=]
   30 |  printf("%.2lf%",t/l);
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.00, expect 27.27%. 2ms 384.0 KiB
#2 Wrong Answer Read 0.00, expect 0.00%. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1106 字符出现的频率
语言
C++
递交时间
2022-07-18 21:55:03
评测时间
2022-07-18 21:55:03
评测机
分数
0
总耗时
4ms
峰值内存
384.0 KiB