记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<t.size();i++)
              ~^~~~~~~~~
/in/foo.cc:11:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<s.size();j++) if(s[j]==t[i]) a[j]=1;
               ~^~~~~~~~~
/in/foo.cc:13:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s.size();i++) if(a[i]==0) cout<<s[i];
              ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 740.0 KiB
#2 Accepted 2ms 756.0 KiB
#3 Accepted 1ms 764.0 KiB
#4 Accepted 2ms 760.0 KiB
#5 Accepted 1ms 760.0 KiB

信息

递交者
类型
递交
题目
P1062 A8-6 删除字符串中多余的多种字符
比赛
2021(四) 作业第四场:加速赛
语言
C++
递交时间
2021-12-07 18:44:12
评测时间
2021-12-07 18:44:12
评测机
分数
100
总耗时
10ms
峰值内存
764.0 KiB