Accepted
foo.cc: In function ‘int main()’: foo.cc:7:23: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 7 | if(s1.find(s2)!=-1) | ~~~~~~~~~~~^~~~ foo.cc:9:28: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 9 | else if(s2.find(s1)!=-1) | ~~~~~~~~~~~^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P2411 1.7.18验证子串
- 比赛
- 2024.7.21暑期中级1班练习
- 语言
- C++
- 递交时间
- 2024-07-21 09:56:21
- 评测时间
- 2024-07-21 09:56:21
- 评测机
- 分数
- 100
- 总耗时
- 10ms
- 峰值内存
- 536.0 KiB