文章
34
粉丝
89
获赞
172
访问
40.4k
#include<cstdio>
#include<iostream>
#include<string>
using namespace std;
int main(){
string str;
cin >> str;
while(str.find("gzu") != -1){
int pos = str.find("gzu");
str.erase(pos,3);
}
while(str.find("gZu") != -1){
int pos = str.find("gZu");
str.erase(pos,3);
}
while(str.find("gZU") != -1){
int pos = str.find("gZU");
str.erase(pos,3);
}
while(str.find("gzU") != -1){
int pos = str.find("gzU");
str.erase(pos,3);
}
while(str.find("Gzu") != -1){
int pos = str.find("Gzu");
str.erase(pos,3);
}
while(str.find("GZu") != -1){
int pos = str.find("GZu");
str.erase(pos,3);
}
while(str.find("GZU") != -1){
int pos = str.find("GZU");
...
登录后发布评论
nb