记录详情

Runtime Error

/in/foo.cc: In function 'int solve(std::__cxx11::string&, std::__cxx11::string&)':
/in/foo.cc:10:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s.size() - t.size();)
                  ~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:15:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (j == t.size()) cnt ++, i += 3;
       ~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 412.0 KiB
#2 Accepted 1ms 380.0 KiB
#3 Wrong Answer 1ms 328.0 KiB
#4 Wrong Answer 1ms 388.0 KiB
#5 Runtime Error 1ms 416.0 KiB

信息

递交者
类型
递交
题目
P1347 OO11-3 string中的查找
语言
C++
递交时间
2023-05-23 16:18:40
评测时间
2023-05-23 16:18:40
评测机
分数
20
总耗时
8ms
峰值内存
416.0 KiB