Accepted

/in/foo.cc: In function 'std::string jz(long long int)':
/in/foo.cc:18:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   18 |     for(int i=0;i<ret.size();i++)
      |                 ~^~~~~~~~~~~
/in/foo.cc: In function 'bool hw2(std::string)':
/in/foo.cc:38:31: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   38 |     for(int i=0,j=s.size()-1;i<s.size();i++,j--)
      |                              ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB
#2 Accepted 1ms 528.0 KiB
#3 Accepted 2ms 336.0 KiB
#4 Accepted 3ms 472.0 KiB
#5 Accepted 2ms 432.0 KiB
#6 Accepted 3ms 484.0 KiB
#7 Accepted 5ms 472.0 KiB
#8 Accepted 7ms 536.0 KiB
#9 Accepted 11ms 480.0 KiB
#10 Accepted 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1787 双进制回文数
比赛
2025.12.20中级班练习
语言
C++
递交时间
2025-12-20 14:20:05
评测时间
2025-12-20 14:20:05
评测机
分数
100
总耗时
41ms
峰值内存
536.0 KiB