记录详情

Memory Exceeded

foo.cc: In function 'int main()':
foo.cc:14:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |  while (i<s.length())
      |         ~^~~~~~~~~~~
foo.cc:17:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |   while (j<t1.length())
      |          ~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Binary files usrout and answer 4ms 512.0 KiB
#2 Wrong Answer Binary files usrout and answer 2ms 384.0 KiB
#3 Wrong Answer Read a123efa123efa123ef, expect a123a123a123. 2ms 384.0 KiB
#4 Time Exceeded ≥1100ms ≥384.0 KiB
#5 Memory Exceeded ≥89ms ≥16.016 MiB

信息

递交者
类型
递交
题目
P1052 OO11-4 string中的查找替换
比赛
2022春 面向对象程序设计方法的上机作业
语言
C++
递交时间
2022-05-14 21:28:58
评测时间
2022-05-14 21:28:58
评测机
分数
0
总耗时
≥1200ms
峰值内存
≥16.016 MiB