Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<s.size();)
                 ~^~~~~~~~~
/in/foo.cc:10:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int j=i;j<i+s1.size() ;j++)
                     ~^~~~~~~~~~~~
/in/foo.cc:16:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int k=0;k<s2.size();k++)cout<<s2[k];
                         ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 1ms 272.0 KiB
#3 Accepted 1ms 368.0 KiB
#4 Accepted 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1006 查找子串且替换
语言
C++
递交时间
2024-07-11 19:11:16
评测时间
2024-07-11 19:11:16
评测机
分数
100
总耗时
6ms
峰值内存
376.0 KiB