记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 |         for(i=0,j=a.length()-1;i<=a.length()/2;i++,j--)
      |                                ~^~~~~~~~~~~~~~
foo.cc:14:12: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized]
   14 |         }}n++;
      |           ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 10 3ms 256.0 KiB
#2 Wrong Answer Read 1, expect 19. 3ms 384.0 KiB
#3 Wrong Answer 0a1 > 110 3ms 256.0 KiB
#4 Wrong Answer Read 1, expect 209. 3ms 256.0 KiB
#5 Wrong Answer 0a1 > 1098 4ms 256.0 KiB

信息

递交者
类型
递交
题目
A4-4 回文数专题:回文数个数
比赛
2022年迎新赛(第三场)
语言
C++
递交时间
2022-09-16 20:47:25
评测时间
2022-09-16 20:47:25
评测机
分数
0
总耗时
18ms
峰值内存
384.0 KiB