Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:32: warning: 'd' is used uninitialized [-Wuninitialized]
    8 |         s=(a/10)+(b/5)+(c/2)+(d/2);
      |                              ~~^~~
foo.cc:5:15: note: 'd' was declared here
    5 |     int a,b,c,d;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 408.0 KiB
#2 Wrong Answer Read 55, expect 66. 4ms 412.0 KiB
#3 Wrong Answer Read 66, expect 89. 4ms 412.0 KiB
#4 Wrong Answer Read 72, expect 90.9. 4ms 516.0 KiB
#5 Wrong Answer Read 59, expect 78.5. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1029 求课程总评成绩
语言
C++
递交时间
2023-12-22 15:44:15
评测时间
2023-12-22 15:44:15
评测机
分数
20
总耗时
22ms
峰值内存
516.0 KiB