Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:18: warning: 'b' is used uninitialized [-Wuninitialized]
    8 |         r=a*0.2+b*0.2+c*0.6;
      |                 ~^~~~
foo.cc:5:15: note: 'b' was declared here
    5 |         int a,b,c;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 66.6, expect 88. 4ms 412.0 KiB
#2 Wrong Answer Read 72.8, expect 94.6. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1004 求课程的综合成绩。
语言
C++
递交时间
2023-11-03 20:46:18
评测时间
2023-11-03 20:46:18
评测机
分数
0
总耗时
8ms
峰值内存
412.0 KiB