记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:12:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |     if (left <= right && left < input.length() && right < input.length())
      |                          ~~~~~^~~~~~~~~~~~~~~~
foo.cc:12:57: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |     if (left <= right && left < input.length() && right < input.length())
      |                                                   ~~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 4ms 332.0 KiB
#2 Accepted 4ms 412.0 KiB

信息

递交者
类型
自测
题目
P1063 A8-7 删除字符串中一个子串
语言
C++
递交时间
2023-12-05 16:45:47
评测时间
2023-12-05 16:45:47
评测机
分数
10
总耗时
8ms
峰值内存
412.0 KiB