Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:16: warning: variable 'b' set but not used [-Wunused-but-set-variable]
    5 |  float a,x,y,z,b,c,d,e,f;
      |                ^
foo.cc:5:22: warning: unused variable 'e' [-Wunused-variable]
    5 |  float a,x,y,z,b,c,d,e,f;
      |                      ^
foo.cc:5:24: warning: unused variable 'f' [-Wunused-variable]
    5 |  float a,x,y,z,b,c,d,e,f;
      |                        ^
foo.cc:11:19: warning: 'a' is used uninitialized in this function [-Wuninitialized]
   11 |  printf("%.2lf",(a+c+d));
      |                  ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 158.40, expect 356.40. 4ms 384.0 KiB
#2 Wrong Answer Read 262.35, expect 460.35. 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1010 门票总价
语言
C++
递交时间
2022-07-08 11:34:37
评测时间
2022-07-08 11:34:37
评测机
分数
0
总耗时
8ms
峰值内存
384.0 KiB