记录详情

Accepted

/in/foo.cc: In function 'void del(std::__cxx11::string&, std::__cxx11::string&)':
/in/foo.cc:12:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (j = 0; j < s2.length(); j++)
              ~~^~~~~~~~~~~~~
/in/foo.cc:14:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < s1.length(); i++)
               ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'void output(std::__cxx11::string)':
/in/foo.cc:26:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < s1.length(); i++)
              ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 340.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 336.0 KiB

信息

递交者
类型
递交
题目
P1062 A8-6 删除字符串中多余的多种字符
比赛
2023 程序设计与竞赛(作业7:最初的综合)
语言
C++
递交时间
2023-11-11 09:02:46
评测时间
2023-11-11 09:02:46
评测机
分数
100
总耗时
9ms
峰值内存
376.0 KiB