记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:27:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   27 |     for(int i=k+1;i<a.size()/2;i++)
      |                   ~^~~~~~~~~~~
foo.cc:37:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   37 |         if(k==a.size()/2)
      |            ~^~~~~~~~~~~~
foo.cc:44:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   44 |         if(k==a.size()-1)
      |            ~^~~~~~~~~~~~
foo.cc:46:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   46 |             for(int i=1;i<a.size()-1;i++)
      |                         ~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 823787168. 9ms 540.0 KiB
#2 Wrong Answer Read 0, expect 660062018. 10ms 688.0 KiB
#3 Wrong Answer Read 0, expect 298248316. 5ms 456.0 KiB
#4 Wrong Answer Read 0, expect 875667150. 7ms 540.0 KiB
#5 Wrong Answer Read 0, expect 100215729. 5ms 412.0 KiB
#6 Wrong Answer Read 0, expect 946586061. 5ms 412.0 KiB
#7 Wrong Answer Read 0, expect 226696322. 6ms 460.0 KiB
#8 Wrong Answer Read 0, expect 102480556. 10ms 688.0 KiB
#9 Wrong Answer Read 0, expect 980360195. 5ms 412.0 KiB
#10 Wrong Answer Read 0, expect 486119422. 5ms 412.0 KiB

信息

递交者
类型
递交
题目
P1456 4-3 小红的回文串
语言
C++
递交时间
2023-08-25 15:14:29
评测时间
2023-08-25 15:14:29
评测机
分数
0
总耗时
72ms
峰值内存
688.0 KiB