记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<a.size();)
                 ~^~~~~~~~~
/in/foo.cc:12: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:12: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:20:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(j==i+b.size()-1)
            ~^~~~~~~~~~~~~~
/in/foo.cc:30:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<a.size();)
                 ~^~~~~~~~~
/in/foo.cc:40:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int q=0;q<c.size();q++)
                         ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 312.0 KiB
#2 Accepted 1ms 364.0 KiB
#3 Accepted 1ms 332.0 KiB
#4 Accepted 1ms 328.0 KiB
#5 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1348 OO11-4 string中的查找替换
语言
C++
递交时间
2023-05-30 19:39:04
评测时间
2023-05-30 19:39:04
评测机
分数
100
总耗时
8ms
峰值内存
376.0 KiB