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:15:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   15 |    for(int j=i+1;j<s.size();j++)
      |                  ~^~~~~~~~~
foo.cc:19:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |  for(int i=0;i<s.size()-cnt+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 256.0 KiB
#3 Wrong Answer Read progra, expect program. 2ms 384.0 KiB
#4 Wrong Answer Read deb, expect debug. 2ms 384.0 KiB
#5 Wrong Answer Binary files usrout and answer 2ms 384.0 KiB

信息

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