Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:11: warning: right operand of comma operator has no effect [-Wunused-value]
  cin>>a,b,c;
           ^
foo.cc:6:12: warning: right operand of comma operator has no effect [-Wunused-value]
  cin>>a,b,c;
            ^
foo.cc:7:9: warning: 'b' is used uninitialized in this function [-Wuninitialized]
  cout<<a+b+c<<endl; 
        ~^~
foo.cc:7:12: warning: 'c' is used uninitialized in this function [-Wuninitialized]
  cout<<a+b+c<<endl; 
            ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 138, expect 12. 1ms 384.0 KiB
#2 Wrong Answer Read 721, expect 10. 1ms 412.0 KiB
#3 Wrong Answer Read 214, expect 7. 1ms 408.0 KiB
#4 Wrong Answer Read 156, expect 12. 2ms 424.0 KiB
#5 Wrong Answer Read 942, expect 15. 2ms 412.0 KiB
#6 Wrong Answer Read 753, expect 15. 1ms 404.0 KiB
#7 Wrong Answer Read 986, expect 23. 1ms 400.0 KiB
#8 Wrong Answer Read 998, expect 26. 1ms 400.0 KiB
#9 Wrong Answer Read 265, expect 13. 1ms 420.0 KiB
#10 Wrong Answer Read 366, expect 15. 1ms 440.0 KiB

信息

递交者
类型
递交
题目
P1685 求三位整数各位数字之和
语言
C++
递交时间
2021-11-06 06:40:22
评测时间
2021-11-06 06:40:22
评测机
分数
0
总耗时
18ms
峰值内存
440.0 KiB