已解决 王泽轩 资深天翼 #include<iostream> #include<algorithm> #include<string> using namespace std; int main(){ string str; cin>>str; char a,b; cin>>a>>b; replace(str.begin(),str.end(),a,b); cout<<str<<endl; return 0; } 50...