Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:5: warning: 'a' is used uninitialized in this function [-Wuninitialized]
    9 |  z=a*0.1+b*0.2+c*0.2+d*0.5;
      |    ~^~~~
foo.cc:9:11: warning: 'b' is used uninitialized in this function [-Wuninitialized]
    9 |  z=a*0.1+b*0.2+c*0.2+d*0.5;
      |          ~^~~~
foo.cc:9:17: warning: 'c' is used uninitialized in this function [-Wuninitialized]
    9 |  z=a*0.1+b*0.2+c*0.2+d*0.5;
      |                ~^~~~
foo.cc:9:23: warning: 'd' is used uninitialized in this function [-Wuninitialized]
    9 |  z=a*0.1+b*0.2+c*0.2+d*0.5;
      |                      ~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read 0, expect 66. 5ms 384.0 KiB
#3 Wrong Answer Read 0, expect 89. 5ms 512.0 KiB
#4 Wrong Answer Read 0, expect 90.9. 2ms 384.0 KiB
#5 Wrong Answer Read 0, expect 78.5. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1011 求课程总评成绩
语言
C++
递交时间
2022-07-08 08:16:40
评测时间
2022-07-08 08:16:40
评测机
分数
20
总耗时
17ms
峰值内存
512.0 KiB