记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(si<=s.length())
      ~~^~~~~~~~~~~~
/in/foo.cc:20:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0;i<s.length();i++)
                ~^~~~~~~~~~~
/in/foo.cc:26:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(len<s.length())
      ~~~^~~~~~~~~~~
/in/foo.cc:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=len;i<s.length();i++)
                  ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Accepted 1ms 360.0 KiB
#5 Accepted 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1063 A8-7 删除字符串中一个子串
语言
C++
递交时间
2024-09-25 20:32:09
评测时间
2024-09-25 20:32:09
评测机
分数
100
总耗时
7ms
峰值内存
376.0 KiB