QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#295139#4828. Four Plus Fourucup-team191#AC ✓2058ms173800kbC++232.8kb2023-12-30 19:23:262023-12-30 19:23:27

Judging History

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

  • [2023-12-30 19:23:27]
  • 评测
  • 测评结果:AC
  • 用时:2058ms
  • 内存:173800kb
  • [2023-12-30 19:23:26]
  • 提交

answer

#include <bits/stdc++.h>
#define x first
#define y second
using namespace std;
using ll=long long;
using pii=pair<int,int>;
using vi=vector<int>;
using vl=vector<ll>;
#define pb push_back
#define all(a) begin(a),end(a)

mt19937 rng(32984);

const int N=300010,MOD=1e9+7;
const char en='\n';
const ll LLINF=1ll<<60;

int n,m,q,usKe[N];
string ti;
vector<pair<string,string>> qu;
vector<string> va,vb;
bool uz[4000][4000],uz2[4000];
map<string,vector<string>> pass;
map<pair<string,string>,string> keys;

int main()
{
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	//freopen("inpF.txt","r",stdin);
	cin>>ti>>q;
	while (q--)
	{
		string a,b;
		if (ti=="password") cin>>a,b="?";
		else cin>>a>>b;
		qu.pb({a,b});
	}
	cin>>n;
	for (int i=0;i<n;++i)
	{
		string x;
		cin>>x;
		va.pb(x);
	}
	cin>>m;
	for (int i=0;i<m;++i)
	{
		string x;
		cin>>x;
		vb.pb(x);
	}
	vector<set<int>> canKey(n);
	vector<set<int>> canKeyInv(m);
	int ccant=0,sumsiz=0;
	for (int i=0;i<n;++i)
	{
		vi cn(256);
		for (auto x: va[i]) ++cn[x];
		for (int j=0;j<m;++j)
		{
			bool ok=1;
			for (auto x: vb[j])
			{
				--cn[x];
				if (cn[x]<0) ok=0;
			}
			for (auto x: vb[j]) ++cn[x];
			if (ok) canKey[i].insert(j),canKeyInv[j].insert(i),++sumsiz;
		}
		if (canKey[i].size()<=2) ++ccant;
	}
	set<pii> mog;
	for (int i=0;i<n;++i) if (canKey[i].size()>=3) mog.insert({canKey[i].size(),i});
	int narp=0;
	while (mog.size())
	{
		int i=mog.begin()->y;
		mog.erase(mog.begin());
		++narp;
		vi v(all(canKey[i]));
		shuffle(all(v),rng);
		//random_shuffle(all(v));
		int cv=v.size();
		/*if (narp==236)
		{
			cout<<narp<<' '<<va[i]<<en;
			for (auto x: v) cout<<x<<' ';
			cout<<en;
			for (auto x: v)
			{
				for (auto y: v) cout<<uz[x][y];
				cout<<en;
			}
			cout<<en;
			for (auto x: v) cout<<uz2[x];
			cout<<en<<en;
		}*/
		bool nap=0;
		for (int a=0;a<cv;++a) for (int b=a+1;b<cv;++b) for (int c=b+1;c<cv;++c)
		{
			if (nap) continue;
			int x=v[a],y=v[b],z=v[c];
			if (!uz[x][y] && !uz[y][z] && !uz[x][z])
			{
				uz[x][y]=uz[y][x]=uz[x][z]=uz[z][x]=uz[y][z]=uz[z][y]=1;
				pass[va[i]]={vb[x],vb[y],vb[z]};
				keys[{vb[x],vb[y]}]=va[i];
				keys[{vb[x],vb[z]}]=va[i];
				keys[{vb[y],vb[x]}]=va[i];
				keys[{vb[y],vb[z]}]=va[i];
				keys[{vb[z],vb[x]}]=va[i];
				keys[{vb[z],vb[y]}]=va[i];
				nap=1;
			}
		}
		if (!nap)
		{
			for (int a=0;a<cv;++a) if (!uz2[v[a]])
			{
				if (nap) continue;
				pass[va[i]]={vb[v[a]],vb[v[a]],vb[v[a]]};
				keys[{vb[v[a]],vb[v[a]]}]=va[i];
				uz2[v[a]]=1;
				nap=1;
			}
			if (!nap)
			{
				cout<<"X"<<narp<<' '<<v.size()<<en;
				assert(0);
			}
		}
	}
	for (auto x: qu)
	{
		if (x.y=="?")
		{
			for (auto z: pass[x.x]) cout<<z<<' ';
			cout<<endl;
		}
		else
		{
			cout<<keys[x]<<endl;
		}
	}
}

詳細信息

Test #1:

score: 100
Accepted
time: 1862ms
memory: 169048kb

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:

pows orad pads 
cote tori hurt 

input:

keys
4
pows orad
hurt tori
pads pows
orad pads
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: 1871ms
memory: 169992kb

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:

kier keir ruer 

input:

keys
1
keir ruer
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: 1860ms
memory: 169888kb

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:

kava dark arak 
alar frow fold 
kava dark arak 

input:

keys
18
dark arak
kava arak
fold alar
kava dark
kava arak
arak dark
frow fold
alar frow
arak kava
fold frow
dark arak
alar fold
kava dark
arak dark
dark kava
frow alar
arak kava
dark kava
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: 1922ms
memory: 173692kb

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:

kava dark arak 
alar frow fold 
vole egal veal 
sacs cess cues 
lone lens nabs 
rape maar beam 
abas nods anna 
blip paca lipa 
bads bade lads 
sing bags ansa 
blet blat teal 
beat abas site 
trio bait raia 
case sabe ebbs 
bait alba tali 
seas babe eses 
bide adit aced 
omen nobs noma 
band mana no...

input:

keys
60000
ling lean
fehs flee
seif self
sane engs
deni nice
iron girn
buts rebs
tens nits
bier raid
roti kefs
ogre rami
done neem
foal sola
bail life
ribs birk
deet teen
cold lone
unco roes
dita edhs
pass taps
etch obit
lacs lars
nits ires
goer eggs
icon foci
fees farl
eses diss
room from
vain gnat...

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: 2058ms
memory: 173220kb

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:

cold fuci foul 
lung dung ding 
surf resh ruer 
sere feel refs 
full lune iglu 
owed floe flow 
gait yuga fact 
gust ties fuse 
etui five give 
geum name egal 
gulf geum lung 
gift fits gits 
crus lums ulus 
ills lull luff 
balk bull calf 
rued delf feud 
cafe alef luff 
fess lues suns 
lied neif me...

input:

keys
60000
near arts
trot trio
loin bill
repo poor
roes pert
rook kore
does tope
virl orle
over rode
farm tamp
mark cave
tour ruin
berm plum
rive torn
nosy posy
nota nowt
swig snow
arse sale
lati alit
lids sins
gree eyne
noes taos
edit curd
true tors
trim limo
omen ebon
tyer real
perm seem
nets mate...

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: 1900ms
memory: 172452kb

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:

nods runs sudd 
lode dell sped 
sate trad ares 
rear drew weed 
rede seme mare 
tree meat drat 
side ires sill 
rein vied dree 
reed dive side 
dote errs soot 
dine dreg rind 
erns nard sade 
stir dite hets 
shit dite side 
dins skis kern 
rase star seta 
tear lids ares 
dure beer deed 
deer curs er...

input:

keys
50928
lore rise
ates tare
ours sori
slit tins
ovum arum
peri ride
aper rapt
sene isms
poof trop
suet pyes
sage sine
roll illy
sold delf
maim magi
ages seis
fire vive
erst seis
pule pice
toyo tora
amie mils
hent test
feat tier
aals saga
rape wrap
saki ains
else eses
snub urbs
inky kiln
dere ears...

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: 1876ms
memory: 169532kb

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:

ceil ices lure 
curd aces sade 
give nide void 
leer corn torc 
ding rudd iglu 
rows soda whoa 
tola obey tole 
sung cees engs 
cris smit miri 
nous lube nose 

input:

keys
46
aces curd
tole obey
nose lube
soda whoa
curd aces
ceil ices
obey tola
lure ices
nous lube
smit miri
void nide
tola obey
curd sade
ceil lure
leer corn
sade aces
void give
soda rows
ding iglu
corn torc
ices ceil
nide give
lure ceil
cees engs
sade curd
nide void
sung cees
give nide
whoa soda
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: 1886ms
memory: 169388kb

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:

band inby dang 
vast tier rive 
watt tets sate 
shoo sinh fons 
pish rhus ghis 
roue rude rode 
nada deva anas 
unde nide dude 
olea taro earl 
hehs coss sous 
anas snag sank 
arse carp pile 
whit adit with 
ouph ouch topi 
muon leno mule 
sign gink inks 
erns sinh sris 
kins oven keir 
logo gold ca...

input:

keys
313
sinh shoo
mabe jeux
dene peed
nite nerd
etui emit
mops mopy
aids tate
wort arty
lime time
toom soot
pans dahs
cobs bisk
tire toes
alif haem
sati tips
rile lite
soli gold
jeux mabe
deli ired
reps pein
gout sego
coss sous
sora sorn
gink sign
posy mopy
mabe bema
carp arse
vets alit
eras tate
o...

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: 1930ms
memory: 170492kb

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:

slat edit lets 
hant exit neat 
rede dore owed 
epha hasp sade 
rest cure ruts 
sels keel lake 
arcs sack hahs 
sagy gigs gays 
hoop atop hoof 
eons seta erst 
rest emes stem 
rato tray tour 
runs nurl ulna 
shin noms mini 
sort echo noes 
mora ovum arum 
gain wail gang 
urns ains snog 
sour curs ca...

input:

keys
2230
ides tire
sill bill
aits naos
sirs lies
sulu outs
nodi paid
rime mead
whir rede
cubs skua
dace ices
spit roes
loan lake
arts ryot
ains urns
sill yill
porn nope
tend true
less seer
sipe pigs
teds teen
kois some
silt line
ceil ales
bima deil
mans amus
gird ired
lear rail
sate anes
rete item
...

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: 1887ms
memory: 173512kb

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:

gain parr gyri 
fear wary raya 
eros deer odes 
torn dure coed 
glib limb muni 
taut tout tuna 
deed tele teal 
frap safe paps 
nona cans otic 
gags agee edhs 
rage hear aero 
note trio eons 
tats moil toms 
lost sobs belt 
duns noun omen 
toot tiro hoer 
mole romp poms 
aper deem pave 
food drew do...

input:

keys
49151
view site
tuba stab
cess hues
ling topi
engs seen
cess mass
vane gang
dita toad
eves vest
ness sone
dene bund
laze haet
mare mess
coon oven
loot cosy
lacs ions
luck cloy
aals raya
cere rate
roes eras
nose feus
gain palp
delf fell
risk sine
nabe hens
duro odor
feal flit
rear arfs
pech cued...

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: 1877ms
memory: 170556kb

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:

near airn neat 
lits beat base 
ever ride bree 
fate fere read 
coif clon foin 
suer secs ours 
none neon gibe 
gama morn mano 
rail call laid 
mure beer emeu 
lout tope lute 
bite feed defi 
crew tier cite 
fain nigh gnat 
sump push hies 
suit dust undy 
deme amah ahem 
nims mina nisi 
carr scut ru...

input:

keys
1
inly 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: 1899ms
memory: 173800kb

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:

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

input:

keys
60000
read redd
mure ream
nisi jots
deni doze
wail wily
ropy pone
elms some
cere rile
bile lien
nisi ting
bush eche
mire meze
chin chin
airs airn
sori goas
babu bras
give gien
barb crab
lief rife
lief glue
rees vees
live leer
gain vena
orca corm
hero bore
alae cell
yell yowe
shew shes
hint anti...

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: 1931ms
memory: 170128kb

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:

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

input:

keys
10000
away alae
nils isle
sole slob
node died
piki zori
yips pion
taos olla
cued coke
temp pree
nidi eide
bris nisi
rare wade
saga gasp
chad math
alar raya
toit inia
raid grab
suqs edhs
mina amin
rent thee
lorn only
sues sous
dole dodo
hire weir
gyps pyin
ahoy load
herd cote
bots boss
pent rune...

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: 1918ms
memory: 171316kb

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:

racy cels ares 
haes says vies 
teas tits east 
inia laid avid 
noun unco unto 
ruer curb urbs 
lats alba mats 
pail pupa plie 
lens glen isle 
dipt drip rips 
seal alga lags 
ever dere dees 
gush tung tush 
muck cuss huck 
inti thin chin 
meat tome amen 
tree free sept 
pros ores lope 
tune nene de...

input:

keys
40537
hies pied
sori sorn
hows show
vive dire
lier like
lisp keps
kale elan
nail agin
ruts rued
reft tern
writ rets
erne hern
orca seal
bads sago
obes luge
lear dire
card awry
eddo lice
blub bung
linn ails
luck yolk
hart moat
lari nori
fade sade
plop rope
ceil clue
bees nebs
soli isle
peso dies...

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: 1878ms
memory: 171536kb

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:

lipe iris sipe 
tung hung hint 
lase sade labs 
stat oats oaks 
coin coon coni 
goby long boon 
meal arse saul 
goos bolo snog 
alee erne lang 
sics sits cate 
edit time stir 
furs fuds rids 
thaw were thee 
snog hoes sore 
dere pure puri 
slur osar oral 
sues sins sone 
loin vino sloe 
loan gaol so...

input:

keys
41296
goon ween
taut gain
kins funk
zing giga
glop lion
pros peer
mott tint
teat heal
tilt lati
days awry
ichs etic
weer ewer
coin rotl
raga tare
hemp amie
alto stoa
back lack
cans narc
maps amin
mosh homo
list lays
vera alar
duet ides
erns gens
quit tins
tsar cart
ties cete
emir sped
snot dons...

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: 1921ms
memory: 172556kb

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:

ting flit tilt 
egos egis pons 
soar rins dors 
stir soot riot 
bell lave vela 
pike skep ires 
kits tike mise 
grim limo isle 
atom matt mitt 
recs cork croc 
bins nail albs 
liri lier plie 
perp eras care 
hood rand nard 
sped sign dine 
lend hide nide 
loos pots clip 
muds bund umbo 
acre fade du...

input:

keys
41858
gien inns
gram drag
eide here
lunt teen
once coni
lies slid
zein deni
sand nodi
pale peal
rets sirs
tirl airt
eras sere
sate yews
leer lase
tile ties
died snow
rant trig
dors soar
unde caid
nogs stub
rims gimp
seis spue
odes orcs
horn thro
ocas calk
bunn ling
hail hila
sill leys
rats aper...

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: 1904ms
memory: 172968kb

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 aeon gene 
noun tune gone 
lore lots seel 
pial puli pule 
dies sith dish 
iron cion brio 
food told hood 
east site spas 
heel weel weed 
duet rued teed 
anta data dank 
omen aloe mama 
worn rani aeon 
sear arks rate 
whee wite tire 
well lore wale 
gien snit mist 
lets lite fist 
fire reed do...

input:

keys
44951
soke kern
ocas mesa
ruck kues
lewd vied
chia jack
nine loge
rope arco
subs sobs
lees rees
stet tier
slut mint
fear real
moot toro
blae celt
rads oast
beer reed
gaen tags
mans sugh
sole mops
lari tire
coco self
caid bloc
bole glom
fees toes
hisn inch
seer sins
dewy dews
lose lops
resh ours...

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: 1920ms
memory: 172076kb

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:

hint chit chia 
iglu gilt curt 
eras vara rave 
fley read flay 
sike wich kier 
elks pock cope 
flue fems ruff 
zein cion gone 
pier rape rare 
pelt tied delt 
dubs ecus cube 
dims nidi dins 
agin nets idea 
surf sybo fuds 
brae rota leal 
migs sons snug 
mana oath anoa 
ride edit cite 
haen lech ac...

input:

keys
48114
salt tate
lums noms
snog noes
suba bosk
slog rigs
then hire
blue flub
room worm
doit tiro
kink coin
abos soma
hero howe
ates seis
dram doer
snot eses
ryas gems
rang wane
tone cate
rags rase
kiln obol
jeer rein
effs serf
crew true
obit fiat
idyl tidy
sums seem
doit join
dals duma
ritz stir...

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: 1917ms
memory: 172708kb

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:

rial babe bail 
corn froe corf 
secs echo oses 
roes hoop soph 
cabs scup ecus 
airn tain stir 
sett tens nine 
tans soar rats 
loos ooze oles 
nolo leno noon 
yarn cory onto 
flee leer fowl 
lehr rees lore 
deni zone doze 
noun conn once 
firn emir from 
hypo hoya idyl 
mode more made 
vees seel ve...

input:

keys
59872
lets slat
abye bear
bade bren
noma aeon
loci oles
tree tine
neep mere
acts cats
mess nebs
heed cete
feel lewd
mine teem
redd eger
tour oust
lues ales
mano nail
ting nill
pits tipi
soma nema
perp gels
toea bare
shoe toes
eide mobs
site tags
torr stow
rees peep
nill fang
rand deva
sung sued...

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: 1949ms
memory: 172652kb

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:

leal cowl lose 
hawk kirs hark 
tied nine teen 
dour urea near 
doer done inro 
lion fool filo 
lank tick tang 
hahs shah hist 
ilka balk lake 
puce ruck neuk 
shag hers suba 
whim orts whit 
seis ping sips 
fail raki kina 
belt leet riel 
bods demy mobs 
rife tear tier 
does pose peas 
sulk koss se...

input:

keys
59908
fowl flog
moue peso
eons neon
girn inro
rang sain
rife lief
lent tilt
alto haws
tace taut
cafe rate
shiv ache
dins sent
yean acme
film slim
kudo girn
beef ties
oven seme
syke heck
gene gied
card airt
emes deet
nisi vein
miss deed
cart neat
roil soon
corn lean
diet spit
soma ream
dibs buns...

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: 1920ms
memory: 173660kb

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:

amen male scan 
smit trio orts 
aryl lars ales 
feet fret rete 
taxa naoi into 
bier byrl bleb 
agog demo mogs 
bell rill rees 
sear heap ache 
tree abet tate 
nidi ribs gird 
ired pard padi 
vive neve vice 
erne mead nene 
feud dime line 
mirs ripe imps 
rite skis kris 
date abet daut 
vole oral la...

input:

keys
59915
aves eras
dite stir
mils lins
miss macs
corm mise
corn rune
oils pika
wens odds
huns thin
ates sash
coup psis
tola diol
anti into
oboe moor
sits sees
ores rugs
aryl pall
airn seta
bros coke
maut must
date sear
ossa silo
fora odea
sale anes
saul tail
sing skip
owse erst
oars spot
inly pyic...

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: 1885ms
memory: 172768kb

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:

skew orts east 
anon main inia 
slur lies lure 
pion clip moil 
plie reis lees 
halo hull hell 
owed deaf olla 
lady zeal lied 
seel fils feel 
aero sera ours 
mate nice acme 
mica mace rami 
mere yens eery 
lets lilt tels 
vang vans rias 
laze ease sale 
rets recs cast 
iron norm immy 
harl eras la...

input:

keys
59935
tall year
oral oils
mole orle
etch cats
cork rack
tret eger
turd diet
lash ceca
roup spiv
pall tapa
lobe fled
ruer burr
dime mair
ilka fink
sora robe
lipe plie
rims mirs
sued sues
secs cine
time stet
damn anil
pink inky
toss stet
shea etas
tree tare
arks puls
pars pear
what whoa
oast snot...

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: 1940ms
memory: 173124kb

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:

tans soar rats 
wise vise ewer 
gama morn mano 
rale alps leas 
done gong gens 
cion toon chit 
semi hoes hisn 
mead rime fard 
noma moan mono 
toro ruts tiro 
veto etic cote 
gorp grid pial 
mats rias aims 
arak raki idly 
cede dere errs 
hack ouch chub 
gory agon moon 
rose tors rest 
vote even te...

input:

keys
59903
free rose
bosh sinh
lode deil
ecru reed
code dove
tola obey
sink engs
feel ecru
mess soys
apse aeon
auto gaum
egal gale
shot oots
grig eggs
oink lang
soil doss
hist tels
lier gley
resh hons
dona ados
then tern
helm alme
coir ordo
veer vavs
moat mall
dins edhs
croc cock
rent delt
baal ilia...

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