Compile Error
/in/foo.cc: In function 'bool KFC(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:7:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i <= y.size() - x.size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:10:4: error: 'sss' was not declared in this scope
sss += y[k];
^~~
/in/foo.cc:12:11: error: 'sss' was not declared in this scope
cout << sss << "\n";
^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1176 验证子串
- 语言
- C++
- 递交时间
- 2024-07-20 22:33:34
- 评测时间
- 2024-07-20 22:33:34
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes