Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:12: warning: variable 'd' set but not used [-Wunused-but-set-variable]
  int a,b,c,d;
            ^
/in/foo.cc:6:7: warning: 'a' is used uninitialized in this function [-Wuninitialized]
  d=100*a+10*b+c;
    ~~~^~
/in/foo.cc:6:12: warning: 'b' is used uninitialized in this function [-Wuninitialized]
  d=100*a+10*b+c;
          ~~^~
/in/foo.cc:6:3: warning: 'c' is used uninitialized in this function [-Wuninitialized]
  d=100*a+10*b+c;
  ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 1.133 MiB
#2 Wrong Answer 2ms 680.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 404.0 KiB
#5 Wrong Answer 1ms 376.0 KiB
#6 Wrong Answer 1ms 352.0 KiB
#7 Wrong Answer 1ms 340.0 KiB
#8 Wrong Answer 1ms 344.0 KiB
#9 Wrong Answer 1ms 336.0 KiB
#10 Wrong Answer 1ms 344.0 KiB

信息

递交者
类型
递交
题目
P1685 求三位整数各位数字之和
比赛
2024.7.29暑期初级2班练习
语言
C++
递交时间
2024-07-29 15:45:57
评测时间
2024-07-29 15:45:57
评测机
分数
0
总耗时
17ms
峰值内存
1.133 MiB