Wrong Answer

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

信息

递交者
类型
自测
题目
P1003 求一个整数的各位数字之和。
语言
C++
递交时间
2024-06-14 15:37:08
评测时间
2024-06-14 15:37:08
评测机
分数
0
总耗时
1ms
峰值内存
360.0 KiB