记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<a.size();)
                 ~^~~~~~~~~
/in/foo.cc:11:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(j=i;j<i+b.size()&&j<a.size();j++)
                 ~^~~~~~~~~~~
/in/foo.cc:11:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(j=i;j<i+b.size()&&j<a.size();j++)
                               ~^~~~~~~~~
/in/foo.cc:19:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(j==i+b.size()-1)
            ~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 356.0 KiB
#3 Accepted 1ms 324.0 KiB
#4 Accepted 1ms 404.0 KiB
#5 Accepted 1ms 328.0 KiB

信息

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