文章
6
粉丝
135
获赞
4
访问
17.0k
#include<bits/stdc++.h>
using namespace std;
int main(){
char x[120];
while(fgets(x,120,stdin) != NULL){
string s = x;
s.pop_back();
int n = s.size();
while(s.find("GZU") != s.npos){
int a = s.find("GZU");
s.erase(a,3);
}
while(s.find("GZu") != s.npos){
int a = s.find("GZu");
s.erase(a,3);
}
while(s.find("GzU") != s.npos){
int a = s.find("GzU");
s.erase(a,3);
}
&...
登录后发布评论
暂无评论,来抢沙发