记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:36: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const long unsigned int'} [-Wsign-compare]
   15 |     while ((pos = s.find(t1, pos)) != string::npos)
      |            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 528.0 KiB
#2 Accepted 1ms 484.0 KiB
#3 Accepted 1ms 488.0 KiB
#4 Accepted 1ms 528.0 KiB
#5 Accepted 1ms 320.0 KiB

信息

递交者
类型
递交
题目
P1052 OO11-4 string中的查找替换
比赛
2024级《面向对象的方法与实践》第五次作业
语言
C++
递交时间
2025-05-10 14:35:28
评测时间
2025-05-10 14:35:28
评测机
分数
100
总耗时
9ms
峰值内存
528.0 KiB