记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for( c=1;c<=y;c++);
  ^~~
foo.cc:11:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  {
  ^
foo.cc:17:11: warning: comparison of constant '100' with boolean expression is always true [-Wbool-compare]
   if(10<=d<100 && d%11==0)
      ~~~~~^~~~
foo.cc:17:8: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   if(10<=d<100 && d%11==0)
      ~~^~~
foo.cc:22:12: warning: comparison of constant '1000' with boolean expression is always true [-Wbool-compare]
   if(100<=d<1000 && d%10==(d-d%100)/100)
      ~~~~~~^~~~~
foo.cc:22:9: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   if(100<=d<1000 && d%10==(d-d%100)/100)
      ~~~^~~
foo.cc:5:6: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  int n,y,z;
      ^
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#2 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#5 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
A4-4 回文数专题:回文数个数
比赛
2020苏青奥赛集训营(2021-2-4实验初中选拔赛)
语言
C++
递交时间
2021-02-04 13:03:56
评测时间
2021-02-04 13:03:56
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB