QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#295402#4828. Four Plus Fourucup-team087#AC ✓1104ms29668kbC++2013.2kb2023-12-31 05:29:372023-12-31 05:29:37

Judging History

你现在查看的是最新测评结果

  • [2023-12-31 05:29:37]
  • 评测
  • 测评结果:AC
  • 用时:1104ms
  • 内存:29668kb
  • [2023-12-31 05:29:37]
  • 提交

answer

#ifndef LOCAL
#pragma GCC optimize ("Ofast")
#pragma GCC optimize ("unroll-loops")
#endif

#include <bits/stdc++.h>
using namespace std;

using ll=long long;
//#define int ll

#define rng(i,a,b) for(int i=int(a);i<int(b);i++)
#define rep(i,b) rng(i,0,b)
#define gnr(i,a,b) for(int i=int(b)-1;i>=int(a);i--)
#define per(i,b) gnr(i,0,b)
#define pb push_back
#define eb emplace_back
#define a first
#define b second
#define bg begin()
#define ed end()
#define all(x) x.bg,x.ed
#define si(x) int(x.size())
#ifdef LOCAL
#define dmp(x) cerr<<__LINE__<<" "<<#x<<" "<<x<<endl
#else
#define dmp(x) void(0)
#endif

template<class t,class u> bool chmax(t&a,u b){if(a<b){a=b;return true;}else return false;}
template<class t,class u> bool chmin(t&a,u b){if(b<a){a=b;return true;}else return false;}

template<class t> using vc=vector<t>;
template<class t> using vvc=vc<vc<t>>;

using pi=pair<int,int>;
using vi=vc<int>;

template<class t,class u>
ostream& operator<<(ostream& os,const pair<t,u>& p){
	return os<<"{"<<p.a<<","<<p.b<<"}";
}

template<class t> ostream& operator<<(ostream& os,const vc<t>& v){
	os<<"{";
	for(auto e:v)os<<e<<",";
	return os<<"}";
}

#define mp make_pair
#define mt make_tuple
#define one(x) memset(x,-1,sizeof(x))
#define zero(x) memset(x,0,sizeof(x))
#ifdef LOCAL
void dmpr(ostream&os){os<<endl;}
template<class T,class... Args>
void dmpr(ostream&os,const T&t,const Args&... args){
	os<<t<<" ";
	dmpr(os,args...);
}
#define dmp2(...) dmpr(cerr,__LINE__,##__VA_ARGS__)
#else
#define dmp2(...) void(0)
#endif

using uint=unsigned;
using ull=unsigned long long;

template<class t,size_t n>
ostream& operator<<(ostream&os,const array<t,n>&a){
	return os<<vc<t>(all(a));
}

template<int i,class T>
void print_tuple(ostream&,const T&){
}

template<int i,class T,class H,class ...Args>
void print_tuple(ostream&os,const T&t){
	if(i)os<<",";
	os<<get<i>(t);
	print_tuple<i+1,T,Args...>(os,t);
}

template<class ...Args>
ostream& operator<<(ostream&os,const tuple<Args...>&t){
	os<<"{";
	print_tuple<0,tuple<Args...>,Args...>(os,t);
	return os<<"}";
}

ll read(){
	ll i;
	cin>>i;
	return i;
}

vi readvi(int n,int off=0){
	vi v(n);
	rep(i,n)v[i]=read()+off;
	return v;
}

pi readpi(int off=0){
	int a,b;cin>>a>>b;
	return pi(a+off,b+off);
}

template<class t>
void print_single(t x,int suc=1){
	cout<<x;
	if(suc==1)
		cout<<"\n";
	if(suc==2)
		cout<<" ";
}

template<class t,class u>
void print_single(const pair<t,u>&p,int suc=1){
	print_single(p.a,2);
	print_single(p.b,suc);
}

template<class T>
void print_single(const vector<T>&v,int suc=1){
	rep(i,v.size())
		print_single(v[i],i==int(v.size())-1?suc:2);
}

template<class T>
void print_offset(const vector<T>&v,ll off,int suc=1){
	rep(i,v.size())
		print_single(v[i]+off,i==int(v.size())-1?suc:2);
}

template<class T,size_t N>
void print_single(const array<T,N>&v,int suc=1){
	rep(i,N)
		print_single(v[i],i==int(N)-1?suc:2);
}

template<class T>
void print(const T&t){
	print_single(t);
}

template<class T,class ...Args>
void print(const T&t,const Args&...args){
	print_single(t,2);
	print(args...);
}

string readString(){
	string s;
	cin>>s;
	return s;
}

template<class T>
T sq(const T& t){
	return t*t;
}

void YES(bool ex=true){
	cout<<"YES\n";
	if(ex)exit(0);
	#ifdef LOCAL
	cout.flush();
	#endif
}
void NO(bool ex=true){
	cout<<"NO\n";
	if(ex)exit(0);
	#ifdef LOCAL
	cout.flush();
	#endif
}
void Yes(bool ex=true){
	cout<<"Yes\n";
	if(ex)exit(0);
	#ifdef LOCAL
	cout.flush();
	#endif
}
void No(bool ex=true){
	cout<<"No\n";
	if(ex)exit(0);
	#ifdef LOCAL
	cout.flush();
	#endif
}
//#define CAPITAL
/*
void yes(bool ex=true){
	#ifdef CAPITAL
	cout<<"YES"<<"\n";
	#else
	cout<<"Yes"<<"\n";
	#endif
	if(ex)exit(0);
	#ifdef LOCAL
	cout.flush();
	#endif
}
void no(bool ex=true){
	#ifdef CAPITAL
	cout<<"NO"<<"\n";
	#else
	cout<<"No"<<"\n";
	#endif
	if(ex)exit(0);
	#ifdef LOCAL
	cout.flush();
	#endif
}*/
void possible(bool ex=true){
	#ifdef CAPITAL
	cout<<"POSSIBLE"<<"\n";
	#else
	cout<<"Possible"<<"\n";
	#endif
	if(ex)exit(0);
	#ifdef LOCAL
	cout.flush();
	#endif
}
void impossible(bool ex=true){
	#ifdef CAPITAL
	cout<<"IMPOSSIBLE"<<"\n";
	#else
	cout<<"Impossible"<<"\n";
	#endif
	if(ex)exit(0);
	#ifdef LOCAL
	cout.flush();
	#endif
}

constexpr ll ten(int n){
	return n==0?1:ten(n-1)*10;
}

const ll infLL=LLONG_MAX/3;

#ifdef int
const int inf=infLL;
#else
const int inf=INT_MAX/2-100;
#endif

int topbit(signed t){
	return t==0?-1:31-__builtin_clz(t);
}
int topbit(ll t){
	return t==0?-1:63-__builtin_clzll(t);
}
int topbit(ull t){
	return t==0?-1:63-__builtin_clzll(t);
}
int botbit(signed a){
	return a==0?32:__builtin_ctz(a);
}
int botbit(ll a){
	return a==0?64:__builtin_ctzll(a);
}
int botbit(ull a){
	return a==0?64:__builtin_ctzll(a);
}
int popcount(signed t){
	return __builtin_popcount(t);
}
int popcount(ll t){
	return __builtin_popcountll(t);
}
int popcount(ull t){
	return __builtin_popcountll(t);
}
int bitparity(ll t){
	return __builtin_parityll(t);
}
bool ispow2(int i){
	return i&&(i&-i)==i;
}
ll mask(int i){
	return (ll(1)<<i)-1;
}
ull umask(int i){
	return (ull(1)<<i)-1;
}
ll minp2(ll n){
	if(n<=1)return 1;
	else return ll(1)<<(topbit(n-1)+1);
}

bool inc(int a,int b,int c){
	return a<=b&&b<=c;
}

template<class t> void mkuni(vc<t>&v){
	sort(all(v));
	v.erase(unique(all(v)),v.ed);
}

ll rand_int(ll l, ll r) { //[l, r]
	//#ifdef LOCAL
	static mt19937_64 gen;
	/*#else
	static mt19937_64 gen(chrono::steady_clock::now().time_since_epoch().count());
	#endif*/
	return uniform_int_distribution<ll>(l, r)(gen);
}

ll rand_int(ll k){ //[0,k)
	return rand_int(0,k-1);
}

template<class t>
void myshuffle(vc<t>&a){
	rep(i,si(a))swap(a[i],a[rand_int(0,i)]);
}

template<class t,class u>
int lwb(const vc<t>&v,const u&a){
	return lower_bound(all(v),a)-v.bg;
}
template<class t,class u>
bool bis(const vc<t>&v,const u&a){
	return binary_search(all(v),a);
}

vvc<int> readGraph(int n,int m){
	vvc<int> g(n);
	rep(i,m){
		int a,b;
		cin>>a>>b;
		//sc.read(a,b);
		a--;b--;
		g[a].pb(b);
		g[b].pb(a);
	}
	return g;
}

vvc<int> readTree(int n){
	return readGraph(n,n-1);
}

template<class t>
vc<t> presum(const vc<t>&a){
	vc<t> s(si(a)+1);
	rep(i,si(a))s[i+1]=s[i]+a[i];
	return s;
}
vc<ll> presum(const vi&a){
	vc<ll> s(si(a)+1);
	rep(i,si(a))s[i+1]=s[i]+a[i];
	return s;
}
//BIT で数列を管理するときに使う (CF850C)
template<class t>
vc<t> predif(vc<t> a){
	gnr(i,1,si(a))a[i]-=a[i-1];
	return a;
}
template<class t>
vvc<ll> imos(const vvc<t>&a){
	int n=si(a),m=si(a[0]);
	vvc<ll> b(n+1,vc<ll>(m+1));
	rep(i,n)rep(j,m)
		b[i+1][j+1]=b[i+1][j]+b[i][j+1]-b[i][j]+a[i][j];
	return b;
}

//verify してないや
void transvvc(int&n,int&m){
	swap(n,m);
}
template<class t,class... Args>
void transvvc(int&n,int&m,vvc<t>&a,Args&...args){
	assert(si(a)==n);
	vvc<t> b(m,vi(n));
	rep(i,n){
		assert(si(a[i])==m);
		rep(j,m)b[j][i]=a[i][j];
	}
	a.swap(b);
	transvvc(n,m,args...);
}
//CF854E
void rotvvc(int&n,int&m){
	swap(n,m);
}
template<class t,class... Args>
void rotvvc(int&n,int&m,vvc<t>&a,Args&...args){
	assert(si(a)==n);
	vvc<t> b(m,vi(n));
	rep(i,n){
		assert(si(a[i])==m);
		rep(j,m)b[m-1-j][i]=a[i][j];
	}
	a.swap(b);
	rotvvc(n,m,args...);
}

//ソートして i 番目が idx[i]
//CF850C
template<class t>
vi sortidx(const vc<t>&a){
	int n=si(a);
	vi idx(n);iota(all(idx),0);
	sort(all(idx),[&](int i,int j){return a[i]<a[j];});
	return idx;
}
//vs[i]=a[idx[i]]
//例えば sortidx で得た idx を使えば単にソート列になって返ってくる
//CF850C
template<class t>
vc<t> a_idx(const vc<t>&a,const vi&idx){
	int n=si(a);
	assert(si(idx)==n);
	vc<t> vs(n);
	rep(i,n)vs[i]=a[idx[i]];
	return vs;
}
//CF850C
vi invperm(const vi&p){
	int n=si(p);
	vi q(n);
	rep(i,n)q[p[i]]=i;
	return q;
}

template<class t,class s=t>
s SUM(const vc<t>&a){
	return accumulate(all(a),s(0));
}
template<class t,size_t K,class s=t>
s SUM(const array<t,K>&a){
	return accumulate(all(a),s(0));
}

template<class t>
t MAX(const vc<t>&a){
	return *max_element(all(a));
}

template<class t>
pair<t,int> MAXi(const vc<t>&a){
	auto itr=max_element(all(a));
	return mp(*itr,itr-a.bg);
}

template<class A>
auto MIN(const A&a){
	return *min_element(all(a));
}

template<class t>
pair<t,int> MINi(const vc<t>&a){
	auto itr=min_element(all(a));
	return mp(*itr,itr-a.bg);
}

vi vid(int n){
	vi res(n);iota(all(res),0);
	return res;
}

template<class S>
void soin(S&s){
	sort(all(s));
}

template<class S,class F>
void soin(S&s,F&&f){
	sort(all(s),forward<F>(f));
}

template<class S>
S soout(S s){
	soin(s);
	return s;
}

template<class S>
void rein(S&s){
	reverse(all(s));
}

template<class S>
S reout(S s){
	rein(s);
	return s;
}

template<class t,class u>
pair<t,u>&operator+=(pair<t,u>&a,pair<t,u> b){
	a.a+=b.a;a.b+=b.b;return a;}
template<class t,class u>
pair<t,u>&operator-=(pair<t,u>&a,pair<t,u> b){
	a.a-=b.a;a.b-=b.b;return a;}
template<class t,class u>
pair<t,u> operator+(pair<t,u> a,pair<t,u> b){return mp(a.a+b.a,a.b+b.b);}
template<class t,class u>
pair<t,u> operator-(pair<t,u> a,pair<t,u> b){return mp(a.a-b.a,a.b-b.b);}
template<class t,class u>
pair<t,u> operator-(pair<t,u> a){return mp(-a.a,-a.b);}
template<class t,class u>
istream&operator>>(istream&is,pair<t,u>&a){
	return is>>a.a>>a.b;
}

template<class t>
t gpp(vc<t>&vs){
	assert(si(vs));
	t res=move(vs.back());
	vs.pop_back();
	return res;
}

template<class t,class u>
void pb(vc<t>&a,const vc<u>&b){
	a.insert(a.ed,all(b));
}

template<class t,class...Args>
vc<t> cat(vc<t> a,Args&&...b){
	(pb(a,forward<Args>(b)),...);
	return a;
}

template<class t,class u>
vc<t>& operator+=(vc<t>&a,u x){
	for(auto&v:a)v+=x;
	return a;
}

template<class t,class u>
vc<t> operator+(vc<t> a,u x){
	return a+=x;
}

template<class t>
vc<t> operator+(const vc<t>&a,const vc<t>&b){
	vc<t> c(max(si(a),si(b)));
	rep(i,si(a))c[i]+=a[i];
	rep(i,si(b))c[i]+=b[i];
	return c;
}

template<class t,class u>
vc<t>& operator-=(vc<t>&a,u x){
	for(auto&v:a)v-=x;
	return a;
}

template<class t,class u>
vc<t>& operator-(vc<t> a,u x){
	return a-=x;
}

template<class t,class u>
void remval(vc<t>&a,const u&v){
	a.erase(remove(all(a),v),a.ed);
}
//消した要素の個数を返してくれる
//UCUP 2-8-F
template<class t,class F>
int remif(vc<t>&a,F f){
	auto itr=remove_if(all(a),f);
	int res=a.ed-itr;
	a.erase(itr,a.ed);
	return res;
}

template<class VS,class u>
void fila(VS&vs,const u&a){
	fill(all(vs),a);
}

template<class t,class u>
int findid(const vc<t>&vs,const u&a){
	auto itr=find(all(vs),a);
	if(itr==vs.ed)return -1;
	else return itr-vs.bg;
}

template<class t>
void rtt(vc<t>&vs,int i){
	rotate(vs.bg,vs.bg+i,vs.ed);
}

bool dbg=false;

int L,R;
vc<string> Ls,Rs;
vvc<int> g,h;
using A=array<int,3>;
vc<A> mate;
map<pi,int> correspond;

void readdict(){
	cin>>L;
	Ls.resize(L);
	rep(i,L)cin>>Ls[i];
	
	cin>>R;
	Rs.resize(R);
	map<string,vi> mid;
	rep(i,R){
		cin>>Rs[i];
		mid[soout(Rs[i])].pb(i);
	}
	
	g.resize(L);
	h.resize(R);
	
	int E=0;
	rep(i,L){
		int f[26]{};
		for(auto c:Ls[i])f[c-'a']++;
		string t;
		auto dfs=[&](auto self,int x)->void{
			if(x==26){
				if(si(t)==4&&mid.contains(t)){
					for(auto j:mid[t]){
						E++;
						g[i].pb(j);
						h[j].pb(i);
					}
				}
			}else{
				int pre=si(t);
				rep(_,f[x]+1){
					self(self,x+1);
					t+=char('a'+x);
				}
				t.resize(pre);
			}
		};
		dfs(dfs,0);
	}
	
	cerr<<"E "<<E<<endl;
	
	vi Lidx=vid(L);
	soin(Lidx,[&](int i,int j){return si(g[i])<si(g[j]);});
	//myshuffle(Lidx);
	
	mate.resize(L);
	
	auto canadd=[&](int i,int j){
		if(i>j)swap(i,j);
		return !correspond.contains(pi(i,j));
	};
	
	for(auto i:Lidx){
		if(si(g[i])<3)continue;
		//cerr<<i<<endl;
		soin(g[i],[&](int j,int k){
			return si(g[j])<si(g[k]);
		});
		bool done=false;
		{
			rep(p,si(g[i]))rep(q,p)if(canadd(g[i][p],g[i][q])){
				rep(r,q)if(canadd(g[i][p],g[i][r])&&canadd(g[i][q],g[i][r])){
					mate[i][0]=g[i][p];
					mate[i][1]=g[i][q];
					mate[i][2]=g[i][r];
					done=true;
					goto alldone;
				}
			}
		}
		{
			for(auto j:g[i])if(canadd(j,j)){
				rep(x,3)mate[i][x]=j;
				done=true;
				goto alldone;
			}
		}
		alldone:;
		assert(done);
		rep(x,3){
			int j=mate[i][x];
			int k=mate[i][(x+1)%3];
			correspond[minmax(j,k)]=i;
		}
	}
}

void password(){
	int n;cin>>n;
	vc<string> cand(n);
	rep(i,n)cin>>cand[i];
	
	readdict();
	
	rep(i,n){
		int j=lwb(Ls,cand[i]);
		rep(k,3){
			cout<<Rs[mate[j][k]]<<(k<2?' ':'\n');
		}
	}
}

void keys(){
	int m;cin>>m;
	vc<pair<string,string>> qs;
	rep(i,m){
		string s,t;cin>>s>>t;
		qs.eb(s,t);
	}
	
	readdict();
	
	for(auto [s,t]:qs){
		int i=lwb(Rs,s);
		int j=lwb(Rs,t);
		if(i>j)swap(i,j);
		int k=correspond[pi(i,j)];
		print(Ls[k]);
	}
}

signed main(){
	cin.tie(0);
	ios::sync_with_stdio(0);
	cout<<fixed<<setprecision(20);
	
	string type;cin>>type;
	if(type=="password"){
		password();
	}else{
		keys();
	}
}

详细

Test #1:

score: 100
Accepted
time: 1065ms
memory: 25572kb

input:

password
2
password
couthier
28558
aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abettals abet...

output:

spas dors prow
curt heir ouch

input:

keys
4
spas dors
ouch heir
prow spas
dors prow
28558
aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abet...

output:

password
couthier
password
password

result:

ok OK

Test #2:

score: 100
Accepted
time: 1065ms
memory: 25592kb

input:

password
1
quirkier
28558
aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abettals abetters abet...

output:

ruer keir kier

input:

keys
1
keir kier
28558
aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abettals abetters abettin...

output:

quirkier

result:

ok OK

Test #3:

score: 100
Accepted
time: 1046ms
memory: 25784kb

input:

password
3
aardvark
aardwolf
aardvark
28558
aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abet...

output:

vara dark arak
alar wold fard
vara dark arak

input:

keys
18
dark arak
vara arak
fard alar
vara dark
vara arak
arak dark
wold fard
alar wold
arak vara
fard wold
dark arak
alar fard
vara dark
arak dark
dark vara
wold alar
arak vara
dark vara
28558
aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatise...

output:

aardvark
aardvark
aardwolf
aardvark
aardvark
aardvark
aardwolf
aardwolf
aardvark
aardwolf
aardvark
aardwolf
aardvark
aardvark
aardvark
aardwolf
aardvark
aardvark

result:

ok OK

Test #4:

score: 100
Accepted
time: 1064ms
memory: 29384kb

input:

password
10000
aardvark
aardwolf
aasvogel
abacuses
abalones
abampere
abandons
abapical
abasedly
abashing
abatable
abatises
abattoir
abbacies
abbatial
abbesses
abdicate
abdomens
abdomina
abducens
abducent
abducing
abducted
abductee
abductor
abelmosk
aberrant
abetment
abettals
abetters
abetting
abetto...

output:

vara dark arak
alar wold fard
lava lags sloe
uses beau bass
slab lane sloe
para ream beam
nobs bond sand
blip laic baal
beds easy baal
agin snib aahs
beat able blat
bait east bise
iota bora tort
sabe isba aces
baba bait blat
sabe ebbs bass
edit bait aced
sabe does noma
obia bond damn
cued scab sand
...

input:

keys
60000
gaen lane
fehs flee
ties self
sago zigs
deco dine
grig frog
best ukes
teds skid
drab area
fork kois
mare omer
noms dose
olla fall
bale fila
irks bris
dunt teed
lane nolo
sone unco
hiss teds
pats taps
itch beth
earl ells
ired nixe
lore cogs
find corf
arfs lari
diss ired
fork form
inti agin...

output:

cleaning
fleeches
felsitic
agonizes
coincide
frogging
bruskest
dinkiest
arabized
forkiest
armigero
endosome
falloffs
fallible
briskest
denudate
canoodle
conquers
dashiest
flypasts
bioethic
carrells
dextrins
cloggers
fricando
filarees
dressier
formwork
aviating
dogeship
arousals
celestas
buttocks
epi...

result:

ok OK

Test #5:

score: 100
Accepted
time: 1060ms
memory: 29440kb

input:

password
10000
fucoidal
fuddling
fuehrers
fuellers
fuelling
fuelwood
fugacity
fuggiest
fugitive
fugleman
fuglemen
fuguists
fulcrums
fulfills
fullback
fullered
fullface
fullness
fulmined
fulmines
fulminic
fumarase
fumarate
fumarole
fumatory
fumblers
fumbling
fumeless
fumelike
fumettes
fumigant
fumiga...

output:

acid flic coif
fund find ding
furs rush fehs
ruse sell feel
lieu fine gill
delf flow wood
fuci tufa yagi
tegs fugs fets
etui give gift
lang flam mane
feel glen mule
fugu tuis fugs
furs furl scum
ills lull fils
flak ball buck
dull feel lure
leaf clue flea
sell self uses
mind find mule
self muse slim
...

input:

keys
60000
tarn ates
riot tort
lion roll
prod pend
lops trop
kept trop
miso tips
roll boil
dove wove
mola prof
mick ream
trug riot
berm ruby
riot nite
nosy ashy
want watt
song gink
rise ails
tyin ulan
nide sled
gyre eyen
taco east
puri tied
purr suet
limo omit
mano oboe
tyre care
rums purr
tuna east...

output:

inertias
hitherto
hornbill
proponed
pollster
pokeroot
imposted
overbill
overword
platform
maverick
outrings
plumbery
inventor
pansophy
nanowatt
knowings
realiser
quaintly
linseeds
greenery
notecase
pictured
posturer
milkwort
moonbeam
rectally
presumer
nutmeats
legality
hidrosis
panderer
haunches
ove...

result:

ok OK

Test #6:

score: 100
Accepted
time: 1074ms
memory: 28912kb

input:

password
8488
redounds
redpolls
redrafts
redrawer
redreams
redreamt
redrills
redriven
redrives
redroots
redrying
redshank
redshift
redshirt
redskins
redstart
redtails
redubbed
reducers
reducing
reductor
reduviid
redwares
redwings
redwoods
redyeing
reearned
reechier
reechoed
reechoes
reedbird
reedbuc...

output:

rods sudd roue
ells pros plod
trad arfs fets
ewer wade ware
rams sere dame
trad derm mart
sell lire slid
nide ride nevi
dees vide rise
teds torr dors
gien dyne grid
nark dahs earn
rift fehs teds
shri edit hets
rink sers skid
trad eras test
aide ears tils
bedu dere rube
dues sere curd
rice nurd gied
...

input:

keys
50928
sere orle
tarn ears
sori sour
tins vies
mora murr
nurd pein
meet trap
isms gien
prow tref
spue beys
rins news
cork oily
oles sued
hwan imam
ilea segs
very reif
ires tins
sics spue
tort tory
isle mola
hern test
cart fire
claw lags
warp ware
scan sang
test lest
bunn nuns
lunk link
spar rase...

output:

voleries
serenata
survivor
veinlets
variorum
underpin
tampered
seemings
wetproof
subtypes
resawing
rollicky
souffled
whamming
soilages
revivify
sinister
spicules
rotatory
wailsome
strength
trifecta
scalawag
warpower
snacking
shtetels
sunburns
unkindly
spreader
uprushed
remotest
wastries
shitakes
scr...

result:

ok OK

Test #7:

score: 100
Accepted
time: 1046ms
memory: 25568kb

input:

password
10
clumsier
accursed
dovening
electron
ruddling
roadshow
tabooley
eugenics
meristic
nebulose
28558
aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abd...

output:

ecru rums lire
race suer cued
nevi dove gied
cole note teel
grin nurl nurd
dahs dhow osar
toyo blat oboe
sice gien unci
rims item iris
nobs oles unbe

input:

keys
46
suer race
oboe blat
unbe oles
dhow osar
race suer
ecru rums
blat toyo
lire rums
nobs oles
item iris
gied dove
toyo blat
race cued
ecru lire
cole note
cued suer
gied nevi
dhow dahs
grin nurd
note teel
rums ecru
dove nevi
lire ecru
gien unci
cued race
dove gied
sice gien
nevi dove
osar dhow
no...

output:

accursed
tabooley
nebulose
roadshow
accursed
clumsier
tabooley
clumsier
nebulose
meristic
dovening
tabooley
accursed
clumsier
electron
accursed
dovening
roadshow
ruddling
electron
clumsier
dovening
clumsier
eugenics
accursed
dovening
eugenics
dovening
roadshow
nebulose
ruddling
meristic
ruddling
mer...

result:

ok OK

Test #8:

score: 100
Accepted
time: 1034ms
memory: 25556kb

input:

password
100
bandying
travoise
wattapes
moonfish
guruship
reground
canvased
undenied
areolate
choushes
angakoks
replicas
widthway
pitchout
noumenal
skeining
reshines
invokers
golconda
unchokes
slowworm
peplumed
captious
glochids
longeing
spectate
helicoid
spongily
donators
bunchier
strummer
unsolder...

output:

inby agin yagi
avos rots airt
watt atap test
info ohms moon
pugh puri rigs
dorr gone nude
sand vend vacs
dune dene dine
taro leet area
uses ouch hush
okas kana snag
clip apes rail
wady wait whid
ouph chip tout
mule luna noma
gies gink skeg
here hiss rins
nevi kois kern
clog glad nolo
okeh ukes unco
...

input:

keys
313
ohms info
beau eaux
dreg pend
ride dene
muse item
smog dogs
rias test
tora towy
flit item
muts omit
daps haps
kois obis
silo rots
ails fems
outs caps
kier trek
gids hogs
eaux beau
lire crib
regs rips
suet nose
ouch hush
taos sand
gink gies
goys dogs
beau beam
apes clip
lean nevi
aide test
t...

output:

moonfish
jambeaux
repugned
trendier
yummiest
gypsydom
striated
outlawry
leftisms
mosquito
hardpans
bibcocks
outliers
fishmeal
captious
treelike
glochids
jambeaux
cribbled
respring
nonguest
choushes
donators
skeining
gypsydom
jambeaux
replicas
ventails
striated
areolate
treelike
donators
brougham
bun...

result:

ok OK

Test #9:

score: 100
Accepted
time: 1058ms
memory: 25864kb

input:

password
1000
idealist
xanthein
reworded
hopheads
scutters
beakless
charkhas
gaywings
footpath
tonearms
extremes
mortuary
journals
hominids
notchers
variorum
wangling
arousing
curacoas
tellable
fellator
muenster
flatuses
canzonet
biasness
reremind
ectozoan
graftage
typhonic
masthead
scholars
amygdal...

output:

ates elds ilia
eath hent nixe
owed redo ewer
dose haps hope
secs curt test
asks less beak
arks cark aahs
wins sway yagi
path oath toot
meat meno osar
erst rems meet
mart murr taro
nurl osar anus
ions ohms dims
note hest orcs
mair mora murr
giga wain ling
sorn ruin snag
arcs sour orcs
ball beat tell
...

input:

keys
2230
dues suet
illy sill
pint taos
pipe sers
lops outs
dopa paid
raid ream
whid here
asks buck
rise bead
piss post
noel lank
tory oast
ruin sorn
illy syli
noir pion
nurl dure
less verb
peel pegs
dene teds
dims skim
list nite
laic isle
beam mild
muds land
grig gied
ears lari
seas nite
miri mite
...

output:

sturdied
sibyllic
appoints
slippers
pullouts
canopied
affirmed
richweed
sawbucks
carbides
ripostes
novalike
cryostat
arousing
sibyllic
peperoni
trundler
verbless
espiegle
descents
misyoked
tintless
caliches
imbalmed
ladanums
rerigged
salliers
antsiest
eremitic
botanize
reaginic
apostles
couloirs
eye...

result:

ok OK

Test #10:

score: 100
Accepted
time: 1079ms
memory: 28636kb

input:

password
10000
parrying
wayfarer
resodded
trounced
fumbling
outvaunt
dealated
flappers
canonist
eggheads
roughage
intoners
totalism
lobsters
soundmen
toothier
implores
revamped
foreword
floccule
glossier
slideway
bottlers
expiates
mephitic
erratics
overcook
kipperer
wickiups
rescuers
fauvisms
tyrami...

output:

airn piny grip
wear rare afar
redo dose dors
torn dure unco
film bumf glib
tuna nota tout
dada tala teed
perp salp safe
scot cans taos
shed edge dahs
rhea roue guar
noir tors nits
tils mola mitt
stob robe less
dose muse sunn
hoot heir trot
lops slim more
derm damp ramp
dorr food froe
foul cole floc
...

input:

keys
49151
wive wist
isba ibex
shes ouch
plop pint
tets tegs
mass mess
gien inia
nada adit
tegs vies
into oses
mure nurd
aunt halt
mare cams
deco vend
loss toyo
scan lion
moll moly
ryas alar
trap pact
eras beat
foss noel
paid ping
dere feel
kier eras
arcs hern
dors ours
tala ilea
refs arfs
pace chad...

output:

viewiest
bauxites
hocusses
toppling
genettes
amesaces
gingivae
adnation
vestiges
essonite
numbered
hazelnut
massacre
convoyed
cytosols
acyloins
mullocky
arrayals
accepter
abettors
sulfones
dappling
refelled
kaiserin
brechans
dolorous
fayalite
surfacer
capuched
weeniest
carbaryl
clinched
followed
sca...

result:

ok OK

Test #11:

score: 100
Accepted
time: 1041ms
memory: 26072kb

input:

password
10000
inertiae
satiable
riverbed
defeater
coffling
sucroses
nonbeing
martagon
birdcall
cumberer
octuplet
befitted
witchier
faithing
euphuism
disunity
meathead
musician
currants
basilary
erepsins
fluorine
ripostes
mesnalty
downhaul
squarely
conjoins
sweatier
outlined
enchants
extincts
lifele...

output:

erne airn ante
ties beat ails
bird rive verb
tref trad raft
info foil golf
ecru suss orcs
ebon gone gibe
raga morn rota
bird caid rail
curb ecru rube
poet colt tout
feet edit beet
with etch wire
tang ghat inti
hems hump spue
duns inti tuns
haet dame meet
scam unci scan
cans tars aunt
syli bris baal
...

input:

keys
1
inky kill
28558
aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abettals abetters abettin...

output:

unlikely

result:

ok OK

Test #12:

score: 100
Accepted
time: 1075ms
memory: 29668kb

input:

password
10000
biunique
chinning
chowchow
civility
cyclicly
diacidic
dibbukim
diluvium
divvying
dizzying
exceeded
exiguity
expellee
finiking
fizzling
frizzily
froufrou
giddying
gimmicky
gingilli
haggadah
henequin
heniquen
higgling
humidify
illiquid
infinity
infixion
jingling
jujutsus
kickback
levell...

output:

bine quin unbe
nigh chin inch
coco chow coho
city clit tivy
yill lily illy
cadi acid caid
midi midi midi
mild mild mild
viny viny viny
ding ding ding
deed cede exec
etui yeti exit
pele epee peel
fink king gink
zing fizz ling
friz fizz liri
roof ruff four
didy nidi ding
immy mick icky
nill gill ling
...

input:

keys
60000
dada area
ream more
song join
aide azon
illy wall
oyer oryx
mols coys
riel lice
glib gien
trig nits
cube ukes
zori omer
chip chip
rani rins
sago zori
anus arbs
nevi vent
abri crib
fley firn
fugu gill
seer revs
riel virl
vena vibe
cark dock
bora rhea
ally ceca
well moly
shew hiss
inch cant...

output:

hardhead
armourer
jingoist
anodized
willywaw
pyroxene
cymosely
creeling
bemingle
stirring
buckshee
memorize
pinching
harianas
grazioso
suburban
genitive
barbaric
frenzily
guileful
reserves
livelier
behaving
drammock
abhorrer
caecally
mellowly
whiskeys
catching
coldcock
covetous
tittuppy
sailfish
hic...

result:

ok OK

Test #13:

score: 100
Accepted
time: 1055ms
memory: 26388kb

input:

password
10000
biunique
chinning
chowchow
civility
cyclicly
diacidic
dibbukim
diluvium
divvying
dizzying
exceeded
exiguity
expellee
finiking
fizzling
frizzily
froufrou
giddying
gimmicky
gingilli
haggadah
henequin
heniquen
higgling
humidify
illiquid
infinity
infixion
jingling
jujutsus
kickback
levell...

output:

bine quin unbe
nigh chin inch
coco chow coho
city clit tivy
yill lily illy
cadi acid caid
midi midi midi
mild mild mild
viny viny viny
ding ding ding
deed cede exec
etui yeti exit
pele epee peel
fink king gink
zing fizz ling
friz fizz liri
roof ruff four
didy nidi ding
immy mick icky
nill gill ling
...

input:

keys
10000
waly ally
wins isle
oles bell
dine dido
koph zori
piny foin
oast lats
kudo cued
perm meet
dene doze
bris rins
wear awee
para snag
hunt mach
yarn alan
ohia inti
road obia
sued hued
mina kami
erne hent
nona lory
oles suss
poll pole
whir hern
piny gips
hoya oldy
trod deco
obis best
punt erne...

output:

wellaway
wiliness
bellboys
windowed
pirozhki
opsonify
axolotls
cuckooed
temperer
deionize
brisling
rewarder
parasang
dutchman
carnally
tithonia
gabbroid
squushed
mannikin
entrench
nonroyal
soleuses
dolloped
whinnier
gypsying
ladyhood
crotched
bossiest
unexpert
overseer
wineskin
mandarin
bryozoan
air...

result:

ok OK

Test #14:

score: 100
Accepted
time: 1050ms
memory: 28700kb

input:

password
9998
sacredly
yeshivas
tattiest
diluvian
conjunct
crumbers
lambasts
pupilage
leggings
dispirit
galleass
deserver
shutting
schmucks
bitching
methanol
prefects
floppers
untended
usurpers
trundler
syringes
lambency
skylines
intender
disclaim
reanoint
recoiler
tincture
feminize
vicomtes
moistur...

output:

dyes scry earl
hive hiss says
tats east test
ilia ulan land
unto noun unco
cube scum murr
tala mass blam
ilea peag pupa
gies isle ling
spit iris trip
sall agas less
devs revs dere
sugh this tuns
muck suck sums
chin inti itch
nota mola hame
efts sept reft
perp oles prof
unde tune teed
suer purr puss
...

input:

keys
40537
paid dahs
foin ones
offs foss
rive vied
lier lock
kepi elks
lank wade
nail lang
puts edit
teff tern
tits wits
hern etch
acre sals
gamb smog
guvs sloe
slim rams
craw cart
idol deco
bung glib
gang lags
club buck
mart moth
inro rail
seas dean
lore perp
cole clue
best been
sloe loss
spue dose...

output:

headship
infernos
showoffs
viverrid
rocklike
pliskies
dawnlike
waggling
disputer
efferent
retwists
retrench
solacers
gambados
lovebugs
dismaler
cityward
collided
flubbing
anglings
bullocky
bathroom
nonviral
deafness
repeople
coquille
bonesets
soilless
unpoised
thronged
vitiates
picquets
derating
pli...

result:

ok OK

Test #15:

score: 100
Accepted
time: 1057ms
memory: 29216kb

input:

password
9997
imperils
gunfight
beladies
fatstock
nonionic
oblongly
mensural
bolognas
gleaners
ascetics
midterms
windsurf
aweather
groschen
priedieu
sporular
unsonsie
evulsion
shogunal
cardioid
mortises
lapidify
intrudes
opposing
rooftops
snippier
adultery
meteoric
mestizas
gainless
shoptalk
ceiling...

output:

mile lips prim
hung tung hunt
lase beds said
toft okas scat
coni conn cion
bony goby nolo
lane mule mars
song slab lang
leas sang gree
sets ates asci
derm teds smit
rins fids find
thew rhea wart
hong hoes regs
dire peed puri
purr osar salp
uses nuns nose
silo sone lune
hogs lang anus
coir road caid
...

input:

keys
41296
been oboe
gaun tuna
fils kiln
inia giga
plop lion
rove pros
nite mott
lash stat
gate gilt
ryas wary
hoes bise
crew ewer
lion noir
regs tars
hype hame
tags loti
blam back
scan orca
mags nipa
ohms mols
blat tils
rive rail
ukes tied
rigs sers
utas anus
teel eras
nits sice
perm dims
damn doat...

output:

wobegone
nutating
skinfuls
agnizing
poppling
reproves
monteith
athletes
litigate
haywards
biotechs
screwers
nitrolic
gastraea
hyphemia
otalgies
blackgum
raccoons
spamming
homologs
satiably
lavalier
duskiest
sniggers
quinnats
clearest
niceties
demireps
mastodon
talesman
floppers
tapeless
steroids
ren...

result:

ok OK

Test #16:

score: 100
Accepted
time: 1072ms
memory: 28640kb

input:

password
9999
flitting
perigons
andirons
torosity
valuable
prickles
kismetic
gomerils
motivate
cocksure
albumins
triplite
epicarps
honorand
spending
clinched
copilots
misbound
furcated
smellier
tectites
seriated
yestreen
phenetic
drinkers
caudally
defiling
easiness
huisache
rouleaux
deadhead
cleanes...

output:

tilt titi ling
gien sorn rips
rani said osar
rosy tits trot
bull bale uvea
kelp skep isle
skit mice smit
lies more migs
item iota mott
ruck roue okes
buns luna slim
lept lier trip
spar pipe asci
nona road hand
pend pegs inns
held inch dine
coot tils clop
buns bond dims
curt aced reft
elms lire mirs
...

input:

keys
41858
gien noun
darn mars
grin nide
less lunt
hone icon
vied slim
deni nide
pion daps
coma colt
erst tirl
airt lari
ears eses
tyes sway
legs eras
isle nits
dido dews
trig sang
osar rani
unci deni
snag tuns
grip migs
sure purr
hoes deco
oath oast
cool claw
iglu bund
hila hail
isle mays
caps lats...

output:

enginous
grandams
rehinged
unsteels
zecchino
midlives
benzidin
satinpod
compleat
slitters
critical
ensnares
gateways
regalers
niellist
disowned
starring
andirons
jaundice
gunboats
priggism
spurries
scorched
althorns
woolsack
bundling
chalazia
mesially
sceptral
impledge
pygmyish
paradrop
dactylic
sig...

result:

ok OK

Test #17:

score: 100
Accepted
time: 1059ms
memory: 29488kb

input:

password
9998
enneagon
ungotten
electors
applique
delights
vibronic
foothold
sappiest
wheedled
detruded
databank
melanoma
ironware
starkers
witherer
walloper
mitogens
stiflers
foreside
semitone
johnnies
conceals
sublunar
recusals
aldehyde
leprotic
ptomains
linkable
antitank
insurers
reshowed
caruncl...

output:

gaen nona ogee
noun tune tout
cels rots colt
puli pupa plea
edit gels this
icon noir crib
loft hoot food
taps pipe spas
weel held weld
reed turd dude
taka dank kana
alme noel noma
rear wren inro
sers teak tars
ewer thew whir
wear prow plea
most ions gems
lest fils reft
rods fids froe
mots teem nose
...

input:

keys
44951
kois kier
alme oles
trek ukes
wive dews
jack high
lion noel
acre pech
zebu buns
leer here
tets kent
tuns slim
plea flam
boos rums
tela beet
toon dors
beef bore
tets leas
mash agas
mole isle
alme loti
floc self
bola boil
begs mols
ones tost
unci fehs
rive sins
dewy dews
elms mols
hour sers...

output:

einkorns
calomels
truckers
swiveled
highjack
eloining
reproach
subzones
shelvers
trinkets
luminist
preflame
motorbus
citeable
odorants
forebode
gantlets
mahuangs
polemics
amitrole
floccose
cuboidal
beglooms
oftenest
fuchsine
versines
dyeweeds
employes
unhorses
everyman
empurple
premixes
commoved
sli...

result:

ok OK

Test #18:

score: 100
Accepted
time: 1053ms
memory: 29272kb

input:

password
9995
hatching
liturgic
ravagers
defrayal
whickers
lockstep
mufflers
zoogenic
repairer
multiped
beclouds
demising
steading
bodysurf
balloter
mousings
xanthoma
directer
chancels
linguine
bandages
cajolery
despited
littered
finances
fontanel
impaling
paltered
messiahs
backlogs
pedicure
trithin...

output:

tach agin high
trug trig curt
regs eras agar
flea alar frae
hews ires whir
lept pock elks
effs mule fems
zinc gien zoon
pair pear rear
pelt mule tied
deco cube oles
mini gems dine
nite said tags
foys ruby four
bore tora blat
sums smog ions
mano moth nota
tire cedi dere
leas elan cans
glue lune ling
...

input:

keys
48114
halt stat
mols ions
nose cogs
bats bora
whir rigs
torr nite
fley bull
mort torr
doit tory
conk icon
noma jabs
howe hour
tads sets
damn omer
nose hets
easy gems
wear wage
tern tora
veal eras
kobo nolo
rune erne
fils riff
suer tews
robe reft
idly idyl
meet sums
ions dots
slue aced
stat airt...

output:

lathiest
luminous
isogenic
outbarks
showgirl
thornier
bellyful
wormroot
torridly
knocking
jobnames
roughhew
staidest
pomander
ethnoses
kerygmas
greenway
carotene
salvager
bobolink
reinjure
rifflers
crewcuts
fireboat
lividity
muteness
disjoint
muscadel
tsaritza
peatiest
coadmits
sisterly
crofters
vin...

result:

ok OK

Test #19:

score: 100
Accepted
time: 1071ms
memory: 29508kb

input:

password
9995
bribable
confrere
cohoshes
whoopers
subspace
arenites
tinniest
tornados
kolhozes
longeron
octonary
werewolf
shoveler
anodized
announce
reniform
haploidy
defoamer
prelives
tamboura
fleshpot
peponium
fanworts
refrying
stobbing
fathered
horsecar
disposal
clobbers
slippage
coquitos
trample...

output:

abri lier able
cone erne corf
shoe hoes oses
hops howe prow
caps bass spue
sear rias nite
stet tets inns
tads osar trod
sloe okeh elks
neon glen lore
taco onto rant
fowl feel froe
hols hove sloe
aide deni azon
cane nona unco
rife foin morn
oily hoya paid
dome ream froe
virl rips peel
bura mora taro
...

input:

keys
59872
ilia ates
ware rear
bade road
sand ones
coss lies
sere nits
puri pein
scan tads
sued numb
etch eked
flee weld
tern mute
edge gnar
ours outs
saul safe
limo alan
ally tyin
spit spiv
jabs nose
salp peag
bura taut
hone song
does bise
outs tags
brow obis
erne repp
fall ling
acre darn
sung eons...

output:

idealist
waxberry
banderol
daemones
solecist
internes
perineum
cabstand
dumbness
kvetched
gulfweed
mutineer
gandered
virtuous
fuselage
monaxial
tallying
oviposit
jobnames
grapples
tabouret
histogen
embodies
agouties
ribworts
prepense
flailing
cravened
gudgeons
hunkered
glassier
outliner
hooklike
sli...

result:

ok OK

Test #20:

score: 100
Accepted
time: 1104ms
memory: 29468kb

input:

password
9997
coleslaw
rikshaws
intended
rondeaux
dendroid
footling
tackling
shittahs
beaklike
unpacker
bearhugs
misthrow
sphinges
franklin
terrible
somebody
firetrap
peasecod
leukosis
ferruled
subgraph
grizzles
oversize
argentum
didactic
buckbean
previews
driveway
allovers
sailorly
flavorer
cycling...

output:

sloe wall aces
irks whir saws
nite teed dine
unde earn road
dire dido inro
onto golf loti
anil lank ikat
shah tats this
kaki able beak
reap cark punk
sugh rhea rube
ohms whir wist
gies pins shes
lari firn kiln
brit lire leet
byes does boos
frap raft trip
peed aces docs
kois koel isle
furl dure feel
...

input:

keys
59908
frog nurl
moms oles
sent nose
grid inro
darn said
firn fley
legs gilt
loot wast
doat tout
raft care
aces cave
nits rend
elan alme
fils film
oink grid
fets fibs
omen noms
yech aces
gibe deni
trad airt
teds meet
hive nixe
mise diss
race rant
silo inro
darn deco
teds spit
owse omer
snib sudd...

output:

wrongful
pummelos
concents
gridiron
darnings
frenzily
settling
woolhats
outacted
craftier
achieves
nitrides
cyclamen
flimsily
drouking
beefiest
envenoms
hackneys
bewinged
carditic
esteemed
vixenish
misdeeds
crenated
rosinols
colander
dippiest
woomeras
disbound
peacocks
trawlnet
meatuses
tenderer
con...

result:

ok OK

Test #21:

score: 100
Accepted
time: 1093ms
memory: 29332kb

input:

password
9989
manacles
pastromi
squarely
fetterer
anatoxin
bilberry
demagogs
libelers
scarphed
berretta
birdings
diapered
evincive
mannered
unfilmed
misprize
strikers
abductee
ovariole
eyeholes
clotting
wooingly
locutory
doorknob
pitiless
extruded
repugned
quiniela
heroizes
ravagers
crispers
sixpenn...

output:

leas name cams
romp smit rapt
ryas slue earl
fret free reft
naoi nona iota
bile lyre lire
smog does same
bell lies bris
care daps pech
batt rear beat
irid gids snib
dire reap raid
vine vice nevi
darn ream damn
delf find mild
rips miri mirs
trek skit rise
bade cube teed
olio ilea rive
helo hoes oles
...

input:

keys
59915
sari sere
fehs rift
sima ilea
scam ails
mors rice
ecru oses
kepi sloe
sudd dews
inns sugh
lash rath
pice spue
ails doat
bore iota
oboe form
isms hets
rugs regs
pray hall
tins airt
orcs trek
muts sung
tads reft
mass loss
road uvea
eses elan
lats anus
skin cups
tews okes
dors toph
piny puli...

output:

aversive
redshift
melanins
classism
sermonic
cornuses
soaplike
swounded
huntings
slathers
specious
dilators
reobtain
foreboom
meshiest
gorgeous
phyllary
scantier
brockets
augments
drafters
oralisms
favoured
haleness
nautilus
kingcups
kotowers
hardtops
punchily
dindling
coniosis
knitwear
shkotzim
run...

result:

ok OK

Test #22:

score: 100
Accepted
time: 1071ms
memory: 29456kb

input:

password
9992
seatwork
hominian
liqueurs
clomping
repliers
hulloaed
fallowed
dialyzed
fireless
vaqueros
neumatic
creamier
moneyers
hilliest
cravings
quezales
reenacts
myrmidon
hacklers
morainal
inbursts
headland
motility
handbell
consumed
enduring
counties
herrying
faltboat
feldsher
blowiest
robotic...

output:

east owse wark
inia ohia noma
ruse lies lire
clip pion limo
lisp peel rise
held hall hull
wade flaw flew
deal idyl zeal
flee reif isle
sour uvea ears
ante mute unci
mair mice ream
mors ones oyer
lest hets tell
grin sang vacs
lase slue zeal
erst tarn scan
rynd yoni morn
cake herl aces
alar morn limo
...

input:

keys
59935
real ally
silo rail
meet tory
etch aahs
cork cark
gree beet
fort tied
ilea lase
pour ours
atap blat
bead lore
brow roue
dame raid
lank flak
bore eons
lire peel
tush mitt
cued dyes
sees lice
isms mite
land noma
piny pink
tort test
host rhea
race cart
lurk laps
pair psis
howk khat
tads ions...

output:

retrally
rasorial
motleyer
attaches
jackaroo
begetter
outfired
chalices
provirus
trapball
fordable
burrower
dreamier
blackfin
baroness
impeller
mistruth
cussedly
licenses
mistiest
mandolin
picnicky
stertors
shortage
execrate
larkspur
parvises
hawkmoth
adjoints
ballyhoo
gharials
escapers
airsheds
tup...

result:

ok OK

Test #23:

score: 100
Accepted
time: 1087ms
memory: 29376kb

input:

password
10000
tornados
overwise
martagon
pleasers
doggones
photonic
monishes
affirmed
monogamy
timorous
coinvent
prodigal
misstart
kailyard
decreers
chabouks
agronomy
grossest
movement
medusoid
floccose
caecally
arenites
gabelled
fervency
tableted
marasmus
cowberry
brokages
supermom
bellbird
outspa...

output:

tads osar trod
rows rise wive
raga morn rota
leas sers salp
dose dogs eons
onto pint chip
home nose ohms
ream raid miff
yoga mano moon
riot miso muts
vino vent otic
lari grip plod
mart stat mirs
yird arak lari
recs dees seer
skua ouch back
mono moan gyro
sets rots regs
oven meno meet
sudd muse does
...

input:

keys
59903
refs cors
ions isba
oldy helo
curt dure
dene oven
toyo blat
skeg skin
flee herl
oses oxes
nose apes
yoga auto
cave lava
hoot oohs
grig regs
nipa koan
rods diss
itch cels
rile rice
hern coho
dose nosy
torr heir
mule herl
doit hoot
oars eras
tell mola
bead snib
cork work
tarn teel
baal bail...

output:

frescoer
nabobish
holytide
curveted
convened
tabooley
kennings
cheerful
oxysomes
eupnoeas
autogamy
cleavage
soothers
gigglers
polkaing
soldiers
chillest
glyceric
schooner
cyanosed
thornier
haulmier
trochoid
oversave
tomalley
banished
cockcrow
antlered
albizzia
corbinas
motordom
backwrap
moronism
cus...

result:

ok OK