Accepted
foo.cc: In function ‘int count(std::string&, std::string&)’: foo.cc:12:35: 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] 12 | while ((pos = s.find(t, pos)) != string::npos) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1051 OO11-3 string中的查找
- 比赛
- 2024级《面向对象的方法与实践》第五次作业
- 语言
- C++
- 递交时间
- 2025-05-10 14:31:45
- 评测时间
- 2025-05-10 14:31:45
- 评测机
- 分数
- 100
- 总耗时
- 12ms
- 峰值内存
- 508.0 KiB