Accepted
foo.cc: In function ‘int main()’: foo.cc:11:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 11 | for (int i = 0; i < s.length(); i++) | ~~^~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1051 OO11-3 string中的查找
- 比赛
- 2024级《面向对象的方法与实践》第五次作业
- 语言
- C++
- 递交时间
- 2025-05-10 08:49:27
- 评测时间
- 2025-05-10 08:49:27
- 评测机
- 分数
- 100
- 总耗时
- 12ms
- 峰值内存
- 504.0 KiB