Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:9: warning: left operand of comma operator has no effect [-Wunused-value]
  10,000<a,b,c<10,000;
         ^
/in/foo.cc:6:8: warning: right operand of comma operator has no effect [-Wunused-value]
  10,000<a,b,c<10,000;
     ~~~^~
/in/foo.cc:6:15: warning: right operand of comma operator has no effect [-Wunused-value]
  10,000<a,b,c<10,000;
               ^~
/in/foo.cc:6:14: warning: right operand of comma operator has no effect [-Wunused-value]
  10,000<a,b,c<10,000;
             ~^~~
/in/foo.cc:6:21: warning: right operand of comma operator has no effect [-Wunused-value]
  10,000<a,b,c<10,000;
                     ^
/in/foo.cc:7:11: warning: right operand of comma operator has no effect [-Wunused-value]
  cin>>a,b,c;
           ^
/in/foo.cc:7:12: warning: right operand of comma operator has no effect [-Wunused-value]
  cin>>a,b,c;
            ^
/in/foo.cc:8:10: warning: 'b' is used uninitialized in this function [-Wuninitialized]
  cout<<(a+b)*c<<endl;
        ~~^~~
/in/foo.cc:8:14: warning: 'c' is used uninitialized in this function [-Wuninitialized]
  cout<<(a+b)*c<<endl;
              ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 328.0 KiB
#2 Wrong Answer 1ms 360.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P2311 1.3.2:计算(a+b)*c的值
比赛
初二开学分层赛
语言
C++
递交时间
2021-09-01 13:56:57
评测时间
2021-09-01 13:56:57
评测机
分数
0
总耗时
5ms
峰值内存
376.0 KiB