|
???
|
谁是sb???
( 2018/5/3 16:05:42 ) |
|
你
( ) |
|
你
( ) |
|
你
( ) |
|
你
( ) |
|
#include<cstring>
#include<iostream>
using namespace std;
int main(){
string a,b,c;
int i,j,k,p,q;
getline(cin,a);
getline(cin,b);
getline(cin,c);
do{k=a.find(b);p=b.length();q=c.length();
if(k>=0){a.erase(k,p);a.insert(k,c);}
k=a.find(b);
}while(k>=0);
cout<<a;
return 0;
}
( ) |
|
#include<cstring>
#include<iostream>
using namespace std;
int main(){
string a,b,c;
int i,j,k,p,q;
getline(cin,a);
getline(cin,b);
getline(cin,c);
do{k=a.find(b);p=b.length();q=c.length();
if(k>=0){a.erase(k,p);a.insert(k,c);}
k=a.find(b);
}while(k>=0);
cout<<a;
return 0;
}
( ) |
|
#include<cstring>
#include<iostream>
using namespace std;
int main(){
string a,b,c;
int i,j,k,p,q;
getline(cin,a);
getline(cin,b);
getline(cin,c);
do{k=a.find(b);p=b.length();q=c.length();
if(k>=0){a.erase(k,p);a.insert(k,c);}
k=a.find(b);
}while(k>=0);
cout<<a;
return 0;
}
( ) |
|
#include<cstring>
#include<iostream>
using namespace std;
int main(){
string a,b,c;
int i,j,k,p,q;
getline(cin,a);
getline(cin,b);
getline(cin,c);
do{k=a.find(b);p=b.length();q=c.length();
if(k>=0){a.erase(k,p);a.insert(k,c);}
k=a.find(b);
}while(k>=0);
cout<<a;
return 0;
}
( ) |
|
#include<cstring>
#include<iostream>
using namespace std;
int main(){
string a,b,c;
int i,j,k,p,q;
getline(cin,a);
getline(cin,b);
getline(cin,c);
do{k=a.find(b);p=b.length();q=c.length();
if(k>=0){a.erase(k,p);a.insert(k,c);}
k=a.find(b);
}while(k>=0);
cout<<a;
return 0;
}
( ) |
|
#include<cstring>
#include<iostream>
using namespace std;
int main(){
string a,b,c;
int i,j,k,p,q;
getline(cin,a);
getline(cin,b);
getline(cin,c);
do{k=a.find(b);p=b.length();q=c.length();
if(k>=0){a.erase(k,p);a.insert(k,c);}
k=a.find(b);
}while(k>=0);
cout<<a;
return 0;
}
( ) |
|
#include<cstring>
#include<iostream>
using namespace std;
int main(){
string a,b,c;
int i,j,k,p,q;
getline(cin,a);
getline(cin,b);
getline(cin,c);
do{k=a.find(b);p=b.length();q=c.length();
if(k>=0){a.erase(k,p);a.insert(k,c);}
k=a.find(b);
}while(k>=0);
cout<<a;
return 0;
}
( ) |
|
#include<cstring>
#include<iostream>
using namespace std;
int main(){
string a,b,c;
int i,j,k,p,q;
getline(cin,a);
getline(cin,b);
getline(cin,c);
do{k=a.find(b);p=b.length();q=c.length();
if(k>=0){a.erase(k,p);a.insert(k,c);}
k=a.find(b);
}while(k>=0);
cout<<a;
return 0;
}
( ) |
|
#include<cstring>
#include<iostream>
using namespace std;
int main(){
string a,b,c;
int i,j,k,p,q;
getline(cin,a);
getline(cin,b);
getline(cin,c);
do{k=a.find(b);p=b.length();q=c.length();
if(k>=0){a.erase(k,p);a.insert(k,c);}
k=a.find(b);
}while(k>=0);
cout<<a;
return 0;
}
( ) |
|