Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:9: warning: comparison of constant '1000' with boolean expression is always true [-Wbool-compare]
  if(99<m<1000)
     ~~~~^~~~~
/in/foo.cc:10:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(99<m<1000)
     ~~^~
/in/foo.cc:9:8: warning: 'b' is used uninitialized in this function [-Wuninitialized]
  m=a+10*b+100*c;
      ~~^~
/in/foo.cc:9:5: warning: 'a' is used uninitialized in this function [-Wuninitialized]
  m=a+10*b+100*c;
    ~^~~~~
/in/foo.cc:9:14: warning: 'c' is used uninitialized in this function [-Wuninitialized]
  m=a+10*b+100*c;
           ~~~^~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 360.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 340.0 KiB
#5 Wrong Answer 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1039 xf2-5水仙花数
比赛
202112初一阶段反馈赛
语言
C++
递交时间
2021-12-11 09:48:14
评测时间
2021-12-11 09:48:14
评测机
分数
40
总耗时
9ms
峰值内存
376.0 KiB