记录详情

Accepted

foo.cc: In function 'std::string tran_zs(std::string)':
foo.cc:16:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |         for (int i = 0; i < M.size(); i++)
      |                         ~~^~~~~~~~~~
foo.cc: In function 'std::string jiafa(std::string, std::string, int)':
foo.cc:28:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |         for (int i = 0; i < M.size(); i++)
      |                         ~~^~~~~~~~~~
foo.cc:33:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |         for (int i = 0; i < M.size(); i++)
      |                         ~~^~~~~~~~~~
foo.cc: In function 'bool check(std::string)':
foo.cc:46:27: 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 = 0; i < M.size() / 2; i++)
      |                         ~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 284.0 KiB
#2 Accepted 4ms 412.0 KiB

信息

递交者
类型
自测
题目
P1134 回文数
语言
C++
递交时间
2023-10-22 14:48:26
评测时间
2023-10-22 14:48:26
评测机
分数
20
总耗时
8ms
峰值内存
412.0 KiB