Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:12: warning: right operand of comma operator has no effect [-Wunused-value]
   cin>>a,b,c;
            ^
/in/foo.cc:6:13: warning: right operand of comma operator has no effect [-Wunused-value]
   cin>>a,b,c;
             ^
/in/foo.cc:7:12: warning: 'b' is used uninitialized in this function [-Wuninitialized]
   d=a*0.2+b*0.2+c*0.6;
           ~^~~~
/in/foo.cc:7:18: warning: 'c' is used uninitialized in this function [-Wuninitialized]
   d=a*0.2+b*0.2+c*0.6;
                 ~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 384.0 KiB
#2 Wrong Answer 1ms 344.0 KiB

信息

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