真的非常简单
2026-09-28 20:14:00
发布于:江苏
0阅读
0回复
0点赞
其实,-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------只有一个样例,可以先看一下再直接cout
最好还是自己编
#include<bits/stdc++.h>
using namespace std;
int main(){
cin.tie(0);
cout.tie(0);
ios::sync_with_stdio(0);
string s;
cin>>s;
for(int i=0;i<s.length();i++){
if(s[i]=='t'){
cout<<'e';
}else{
cout<<s[i];
}
}
return 0;
}
这里空空如也







有帮助,赞一个