Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   13 |  if(a>=10 && a<100)
      |  ^~
foo.cc:15:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   15 |   if(n==m)
      |   ^~
foo.cc:20:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   20 |   if(a>=100 && a<1000)
      |   ^~
foo.cc:22:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   22 |    if(n==m)
      |    ^~
foo.cc:27:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   27 |    if(a>=1000 && a<10000)
      |    ^~
foo.cc:29:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   29 |     if(n==m)
      |     ^~
foo.cc:34:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   34 |     if(a>=10000 && a<100000)
      |     ^~
foo.cc:36:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   36 |      if(n==m)
      |      ^~
foo.cc:41:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   41 |      if(a>=100000 && a<1000000)
      |      ^~
foo.cc:43:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   43 |       if(n==m)
      |       ^~
foo.cc:29:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
   29 |     if(n==m)
      |     ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read No, expect Yes. 4ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1035 任意位数的回文数判断
语言
C++
递交时间
2022-07-11 18:38:02
评测时间
2022-07-11 18:38:02
评测机
分数
50
总耗时
8ms
峰值内存
384.0 KiB