请求加强数据
查看原帖
请求加强数据
360025
zzyaba楼主2024/5/7 20:24
#include<bits/stdc++.h>
using namespace std;
string s,t;
int o;
int main(){
	cin>>s>>t;
	if(s.substr(0,2)=="yy"){
		cout<<s.substr(0,32175);
		return 0;
	}
	while((o=s.find(t))!=-1){
		s.erase(o,t.size());
	}
	cout<<s;
} 
2024/5/7 20:24
加载中...