记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:33:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   33 |             if(f1!=f2)
      |             ^~
foo.cc:35:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   35 |                 break;
      |                 ^~~~~
foo.cc:18:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   18 |     if(p%2==0)
      |     ^~
foo.cc:37:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   37 |         if(p%2!=0)
      |         ^~
foo.cc:54:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   54 |                 if(f1!=f2)
      |                 ^~
foo.cc:56:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   56 |                     break;
      |                     ^~~~~
foo.cc:5:16: warning: unused variable ‘b’ [-Wunused-variable]
    5 |     int a,ws=0,b=0,f1,f2,f3,i,j,f4,f5,p,hui=0;
      |                ^
foo.cc:5:36: warning: variable ‘f5’ set but not used [-Wunused-but-set-variable]
    5 |     int a,ws=0,b=0,f1,f2,f3,i,j,f4,f5,p,hui=0;
      |                                    ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Accepted 2ms 536.0 KiB
#4 Accepted 2ms 320.0 KiB
#5 Accepted 3ms 764.0 KiB

信息

递交者
类型
递交
题目
A4-3 回文数专题:回文数判断
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C++
递交时间
2024-08-16 21:25:19
评测时间
2024-08-16 21:25:19
评测机
分数
100
总耗时
14ms
峰值内存
764.0 KiB