@[璀璨天狼](/space/show?uid=144520) 为什么你一定要快读?
by growl @ 2019-01-07 19:51:28
@[璀璨天狼](/space/show?uid=144520)
交这份代码
```
#include <bits/stdc++.h>
using namespace std;
void readToken(string &s){//快读
char c;
while((c=getchar())!='\n'&&c!='\r')
s+=c;
return;
}
void do_everything(string a,string b){
if(a.size()==0)return;
int middle=a.find(b[b.size()-1]);
cout<<a[middle];
do_everything(a.substr(0,middle),b.substr(0,middle));
do_everything(a.substr(middle+1),b.substr(middle,b.size()-middle-1));
return;
}
int main(){
string s,t;
readToken(s);readToken(t);
do_everything(s,t);
return 0;
}
```
by Zhou_JK @ 2019-01-07 19:54:23
@[growl](/space/show?uid=70187)
闲的没事干
by 御坂13558号 @ 2019-01-07 19:54:31
@[Zhou_JK](/space/show?uid=69519)
竟然又M了
[评测纪录](https://www.luogu.org/recordnew/show/15274203)
by 御坂13558号 @ 2019-01-07 19:55:50
@[Zhou_JK](/space/show?uid=69519)
奇怪,直接cin就A了
by 御坂13558号 @ 2019-01-07 20:06:39
string最好不要用什么快读~~(cin其实也不慢的了)~~
by Zhou_JK @ 2019-01-07 20:11:54