Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:18: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'double' [-Wformat=]
    6 |         scanf("%lf",a);
      |                ~~^  ~
      |                  |  |
      |                  |  double
      |                  double*
foo.cc:6:14: warning: 'a' is used uninitialized [-Wuninitialized]
    6 |         scanf("%lf",a);
      |         ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.000000, expect -555.566646. 4ms 412.0 KiB
#2 Wrong Answer Read 0.000000, expect 12.345679. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P2297 1.1.7输出浮点数
语言
C++
递交时间
2023-07-20 20:53:13
评测时间
2023-07-20 20:53:13
评测机
分数
0
总耗时
9ms
峰值内存
412.0 KiB