Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |  for(int i=0;i<s.size();i++)
      |              ~^~~~~~~~~
foo.cc:14:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |    for(int j=i;j<s.size()-1;j++)
      |                ~^~~~~~~~~~~
foo.cc:17:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |  for(int i=0;i<s.size()-x+2;i++)
      |              ~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read program, expect program!. 2ms 384.0 KiB
#2 Wrong Answer Read prgram, expect prgram!. 2ms 384.0 KiB
#3 Wrong Answer Read progra, expect program. 3ms 384.0 KiB
#4 Wrong Answer Read deb, expect debug. 3ms 256.0 KiB
#5 Wrong Answer Binary files usrout and answer 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1079 A8-5 删除字符串中多余的一种字符
语言
C++
递交时间
2022-03-13 18:31:36
评测时间
2022-03-13 18:31:36
评测机
分数
0
总耗时
13ms
峰值内存
384.0 KiB