QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#664262#4828. Four Plus Fourrotcar07AC ✓902ms82380kbC++232.0kb2024-10-21 19:54:162024-10-21 19:54:18

Judging History

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

  • [2024-10-21 19:54:18]
  • 评测
  • 测评结果:AC
  • 用时:902ms
  • 内存:82380kb
  • [2024-10-21 19:54:16]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
string s[30005],ss[30005],t[4005],tt[4005];
int n,m;
vector<int> v[30005];
mt19937 rnd(0);
int ans[30005][3],id[30005];
int g[4005][4005];
bool dfs(int x){
    if(x>n) return 1;
    int p=id[x];
    int n=v[p].size();
    if(n<3) return dfs(x+1);
    for(int i=0;i<n;i++)
    for(int j=i+1;j<n;j++)if(!g[v[p][i]][v[p][j]])
    for(int k=j+1;k<n;k++){
        int a=v[p][i],b=v[p][j],c=v[p][k];
        if(g[a][b]||g[b][c]||g[a][c]) continue;
        g[a][b]=g[b][a]=g[b][c]=g[c][b]=g[a][c]=g[c][a]=p;
        ans[p][0]=a,ans[p][1]=b,ans[p][2]=c;
        if(dfs(x+1)) return 1;
        g[a][b]=g[b][a]=g[b][c]=g[c][b]=g[a][c]=g[c][a]=0;
    }
    for(int i=0;i<n;i++)if(int a=v[p][i];!g[a][a]){
        g[a][a]=p;
        ans[p][0]=ans[p][1]=ans[p][2]=a;
        if(dfs(x+1)) return 1;
        g[a][a]=0;
    }
    return 0;
}
inline void work(){
    cin>>n;
    for(int i=1;i<=n;i++) cin>>s[i],ss[i]=s[i],sort(s[i].begin(),s[i].end()),id[i]=i;cin>>m;
    for(int i=1;i<=m;i++) cin>>t[i],tt[i]=t[i],sort(t[i].begin(),t[i].end());
    for(int i=1;i<=n;i++){
        for(int j=1;j<=m;j++) if(includes(s[i].begin(),s[i].end(),t[j].begin(),t[j].end())) v[i].push_back(j);
        shuffle(v[i].begin(),v[i].end(),rnd);
    }
    sort(id+1,id+n+1,[&](int x,int y){return v[x].size()<v[y].size();});
    dfs(1);
}
int main(){
    std::ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
    string T;cin>>T;
    if(T=="password"){
        int w;cin>>w;vector<string> v(w);
        for(auto &x:v) cin>>x;
        work();
        for(const auto &x:v){
            int z=lower_bound(ss+1,ss+n+1,x)-ss;
            for(int i=0;i<3;i++) cout<<tt[ans[z][i]]<<' ';cout<<'\n';
        }
    }
    else{
        int w;cin>>w;vector<string> a(w),b(w);
        for(int i=0;i<w;i++) cin>>a[i]>>b[i];
        work();
        for(int i=0;i<w;i++){
            int z=lower_bound(tt+1,tt+m+1,a[i])-tt;
            int zz=lower_bound(tt+1,tt+m+1,b[i])-tt;
            cout<<ss[g[z][zz]]<<'\n';
        }
    }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 880ms
memory: 77968kb

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:

swap waps swop 
itch tore cure 

input:

keys
4
swap waps
cure tore
swop swap
waps swop
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: 885ms
memory: 77828kb

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 kier keir 

input:

keys
1
kier keir
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: 877ms
memory: 78936kb

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:

arak kava dark 
afar woad foal 
arak kava dark 

input:

keys
18
kava dark
arak dark
foal afar
arak kava
arak dark
dark kava
woad foal
afar woad
dark arak
foal woad
kava dark
afar foal
arak kava
dark kava
kava arak
woad afar
dark arak
kava arak
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: 891ms
memory: 81508kb

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:

arak kava dark 
afar woad foal 
legs goas lava 
baas ecus seas 
ansa sola anoa 
bree beep pram 
bans abos sand 
clap paca alba 
leys eyas able 
sing bias anas 
teal abbe blae 
bass tass asea 
aria bort riot 
ebbs asea abbe 
alit bait baba 
eses sabe seas 
abed adit debt 
dons base sned 
noma band ba...

input:

keys
60000
cine lang
eche else
leis list
agon ages
once nide
info iron
rues rube
kite nidi
bare dare
kist reft
gram mora
mono deem
oafs fall
fail lief
sris ties
teed dean
enol loca
rocs rues
adit hide
spat lays
thio both
cars alls
sext ides
goes cogs
coir firn
else ires
rees seis
worm form
anga vagi...

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: 875ms
memory: 81072kb

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:

loud cold coal 
iglu dung find 
resh free furs 
eels flus fuel 
luge life nill 
flow duel delf 
fact cuif yagi 
ties fugs fist 
give gift five 
guan fume lung 
genu glum luge 
sift tugs fits 
curl lums urus 
lull full ills 
full bull fuck 
reel rude fell 
clue fuel caul 
null less funs 
life lend fu...

input:

keys
60000
ties anis
tore heth
roll roil
rope prod
rotl tops
koto trop
step epos
rill bier
wove dove
taro trap
vair acme
ring nogs
merl ruby
rite over
pony pons
nona nana
wins nows
sire eels
ulna tiny
sees seed
gree eyen
taos note
dupe dire
roup eros
roil kilt
name oboe
carl cell
rump supe
nets eats...

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: 886ms
memory: 82048kb

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:

rune redo sord 
lope pled sore 
seat eras fast 
dare rare draw 
rads ease mere 
tree meat team 
dies lied ills 
ired dine neve 
vies revs seed 
trod teds toed 
grin dreg deny 
shad earn arks 
herd refs fids 
sith rite dits 
disk kris skin 
teat stet eras 
rias dial rale 
deer drub bree 
dees duce ce...

input:

keys
50928
viol reis
anes sera
sour sori
isle evil
mura roar
ruin dire
tape term
sing sims
foot trow
tube subs
anew ergs
cork lily
leud delf
mawn maim
sals agio
vive fire
rite sets
psis less
tyro tort
wile isle
teth nest
rift acre
casa saga
warp wear
skag scag
eels hets
runs burn
dink dunk
dees raps...

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: 883ms
memory: 78076kb

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:

rime ruse slum 
dure sear cure 
oven nide vide 
once clot reel 
girn rind guid 
sora rood show 
tola abet bola 
gnus nice guns 
rice rest sire 
been obes nous 

input:

keys
46
sear dure
bola abet
nous obes
rood show
dure sear
rime ruse
abet tola
slum ruse
been obes
rest sire
vide nide
tola abet
dure cure
rime slum
once clot
cure sear
vide oven
rood sora
girn guid
clot reel
ruse rime
nide oven
slum rime
nice guns
cure dure
nide vide
gnus nice
oven nide
show rood
be...

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: 882ms
memory: 78668kb

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 dang agin 
oars vast over 
waes east awes 
moos hisn fino 
hips sigh phis 
rued urge roue 
save ansa deva 
nude dene deni 
taro rote lear 
cuss such echo 
skag nogs goas 
lace ices pail 
thaw whit wady 
ouph pout chit 
olea noun mole 
kine kins gien 
rein seis hers 
reis kirn kino 
loco dona do...

input:

keys
313
hisn moos
bema exam
durn genu
nite dree
smit etui
goys smog
tsar sadi
aryl rota
sets sels
smut soot
nard pard
kobs bibs
oils roes
semi feal
tups soup
kilt leer
slog odic
exam bema
bier cire
ergs ping
gone oust
such echo
orad rood
kins kine
pogy smog
bema jamb
ices lace
nite last
rite sadi
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: 877ms
memory: 79128kb

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:

slit ales sild 
etna hate nixe 
reed wore were 
hoes dose aped 
user sets tets 
slab kale eels 
aahs cars rack 
yagi sing sawn 
foot otto oath 
ants aero tars 
sext seer teem 
ryot torr arty 
nous anus also 
mods nidi hods 
cots eros shoe 
murr mura roar 
ling lang lawn 
sori agon rags 
arcs ursa co...

input:

keys
2230
teds rest
syli ibis
past pian
rile perp
loup toll
pain acne
fife miff
hied herd
wauk swab
bads rebs
sore seis
ikon kine
arts stoa
agon sori
syli sill
pirn pone
lune rent
rees sels
seel sipe
cees nest
yods oyes
sets lins
sial laic
meld aide
duma duns
edge eide
rail alls
nets tint
miri 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: 887ms
memory: 79876kb

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:

ayin pray airy 
yare fear fray 
odds reds dors 
dote curd tend 
iglu numb limn 
unto auto unau 
deet teal dele 
alps earl pars 
tans cain nans 
ghee gees geds 
hogg ague gore 
rets ions trio 
sati omit lams 
bots robs rose 
meno dose emus 
tote riot hire 
opes rime lips 
derm reap aper 
feod ford wo...

input:

keys
49151
vets west
tabu beta
echo hoes
tong gilt
seen gent
seam maes
agin vina
doat dato
vest vise
tees into
deem mure
teal haul
sers cess
coon deco
coos oots
sync loci
coly mock
aryl lays
part pare
tats orts
fons flue
palp agin
dree delf
kern inks
bean bras
dour door
fila tile
ares recs
aced dupe...

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: 885ms
memory: 78204kb

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 tare 
tale tels seta 
drib deer vied 
fere drat dear 
filo long golf 
ores sous uses 
bine ebon nine 
mora rant agon 
lard dill drib 
beer mure berm 
cote poet lute 
beef tied deft 
chit with hire 
fang than naif 
pies hues hums 
dits dint duty 
them hame haed 
scan ains anis 
aunt narc ru...

input:

keys
1
inly yule
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: 890ms
memory: 82380kb

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 
inch chin nigh 
chow coho coco 
clit tivy city 
illy lily yill 
cadi caid acid 
dumb dumb dumb 
imid imid imid 
nidi nidi nidi 
zing zing zing 
exec deed cede 
yeti exit etui 
epee peel pele 
fink king gink 
fizz ling zing 
fizz friz liri 
four roof ruff 
didy nidi ding 
mick icky im...

input:

keys
60000
herd head
roam urea
snot nisi
zein nodi
yawl yill
yore repo
cole elms
erne cine
glib lime
girn tins
cees beck
mime memo
inch inch
hair rani
oars gars
burs rubs
neve nite
crib raia
lire lief
fell lief
eves revs
ever rill
gaen vain
dork cork
herb roar
lacy alec
wyle mewl
whey whys
chat ting...

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: 869ms
memory: 78168kb

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 
inch chin nigh 
chow coho coco 
clit tivy city 
illy lily yill 
cadi caid acid 
dumb dumb dumb 
imid imid imid 
nidi nidi nidi 
zing zing zing 
exec deed cede 
yeti exit etui 
epee peel pele 
fink king gink 
fizz ling zing 
fizz friz liri 
four roof ruff 
didy nidi ding 
mick icky im...

input:

keys
10000
wyle alae
slew seis
yobs leys
owed dido
piki koph
soon yins
stoa toll
cued coed
pert temp
node doze
liri sing
awee draw
rags sang
hant aunt
acyl aryl
that inia
dago grid
uses shes
kami mink
rent cete
lorn nolo
oles eels
pled pood
hewn whir
gigs pigs
halo lady
rode dore
obis site
pure 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: 874ms
memory: 80008kb

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:

eyas syce eyra 
visa aves says 
tits ates stat 
inia diva laid 
unco cunt unto 
rems crus burr 
slat malt mats 
peag glia glue 
gigs gien gels 
rips dips tips 
legs alae sell 
deer devs revs 
hisn tint gush 
muss suck chum 
inti chin bint 
late melt loam 
fees sept sect 
pros pols sore 
tend nude du...

input:

keys
40537
hasp dish
fine refs
show sows
ride vive
coil coke
leks pike
dial knew
giga lain
pits dite
rent fete
ties rest
thee hern
orca earl
dago dabs
lose bugs
idea dale
awry arid
dole diol
bulb bung
sain gain
buoy bull
tram boot
vail vino
ness sane
epee pole
cole ceil
nobs sees
less ills
pone nods...

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: 894ms
memory: 80204kb

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:

mels miri lime 
hint gift unit 
bald sabe isle 
skat tots toft 
coni coon noon 
glob nolo gobo 
menu lars male 
agon goos slog 
seen near gaes 
eats acts case 
ride dirt rest 
rifs furs urds 
weet rath wart 
hers roes hong 
dire rude pied 
purr opus alps 
uses sone sons 
lone soul lieu 
nous snag gn...

input:

keys
41296
gobo gone
unai gait
sulk fuss
gang gain
plop long
peer ores
mott teth
eths tats
lite gate
wads shad
site shoe
sers cees
otic nori
ager sage
hame epha
gale gats
club back
croc arcs
main ains
hogs holm
bast slay
lair rail
edit suds
gigs gies
anis anus
cels cart
ties sene
ride prim
dots tams...

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: 878ms
memory: 80264kb

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:

titi gift ling 
regs pone inro 
rods darn nori 
tory rots stir 
bale vela blae 
ceps lipe keir 
mite kite site 
isle logs mols 
mitt mote iota 
kors souk roue 
ulan bins mail 
tret trip rile 
pacs peri ices 
roan dona darn 
snip side pein 
deil lich hind 
coos pits soil 
duos bund mobs 
frae true ta...

input:

keys
41858
eons gens
rags dags
hind reed
uses leet
echo chin
mile lied
bize dine
pias stoa
melt tape
lire lest
alit rail
sers sane
stag seta
lase gear
isle lilt
deni owse
gran rani
nori rods
nice dace
tong aunt
miri rims
sipe sips
resh cors
slot snot
cook sock
bung guid
chia hila
seam amie
lets pals...

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: 884ms
memory: 79732kb

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:

gene gane agon 
note tune gout 
leer rote colt 
pial leap pupa 
sild hets gild 
noir brio coni 
tool loft doth 
sips pate tepa 
whee lewd held 
deet deed true 
kata data kana 
memo anal loam 
wren wain wino 
tear star sark 
wert weir heir 
prao lowe wore 
noms mons gien 
slit lift fret 
fido eide si...

input:

keys
44951
inns kirn
lams cole
reck erst
wide evil
haji hack
neon line
pace orca
zebu onus
lees herl
sike sent
mist muni
reel flam
roto rubs
blet lace
roan dots
feed food
teal legs
snug ughs
mops mils
toil olea
coof fool
club lido
lobe glob
efts font
ichs cues
vees sine
weed dyed
poms mopy
sone sour...

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: 894ms
memory: 81592kb

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:

chia cant tang 
girl curl gilt 
agas ares agar 
earl alef afar 
cris kirs shew 
koel cope cots 
surf feus rums 
nice ooze coni 
aper rape rare 
dump mild emit 
used loud duel 
dims idem gins 
tans gads diet 
body duos furs 
role bare olea 
guns muon muns 
atom axon anoa 
rede tier rete 
clan cels ha...

input:

keys
48114
hail leis
mons limo
engs cogs
urbs brat
wogs roil
nite tore
yule fley
toro roto
lory loti
kino conk
maes anes
grow euro
seta diet
nard nerd
hens sots
sark kaes
gane ween
arco narc
vase gale
loon kolo
jeer erne
leis life
west rets
reif fiat
tivy idyl
menu emus
nisi tins
cads sled
rias tart...

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: 902ms
memory: 81340kb

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:

ilea real liar 
cere cero fern 
oses coho shoe 
woes howe pows 
cube aces pacs 
sari snit tier 
nett sett ties 
rats ants orad 
look oleo okes 
lorn role gone 
cyan onto nary 
lowe flow fowl 
hols hole rhos 
zein aide nodi 
unco conn aeon 
rime mien form 
dhal poly hila 
road omer reed 
eves else pi...

input:

keys
59872
sild slit
brew rear
ebon lane
mads mode
sols cots
erst tier
rump erne
acta cans
emus mend
eche heck
glue gled
teem mint
edge gane
rout ruts
ages slug
limn minx
ally illy
pits spot
anes abos
ergs real
rota rout
hint site
some does
guts seta
bows bits
sene repp
nail ilia
deva dace
sued dong...

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: 887ms
memory: 81400kb

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:

loca call slow 
shri saki skas 
eide nene nite 
dure euro darn 
redd doer deni 
foot into loon 
clan kiln knit 
aits shit tats 
leek blae bail 
rack acne ruck 
urge rues sear 
swot hows sori 
sins pein gips 
lira firn nail 
blet riel brie 
debs mods mode 
pert pair feta 
pacs opes scad 
ilks sulk lo...

input:

keys
59908
grow nurl
emus mome
noes snot
dorr inro
digs gain
lief lire
slit gest
swat soot
coda cute
feat rate
ichs each
ires dint
acyl amen
illy mils
giro nurd
bets fits
oven even
shay aces
bind bend
trad raid
meed deet
nixe vein
isms seem
dare cart
iron lino
cord earn
step pipe
some raws
nods onus...

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: 894ms
memory: 81060kb

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:

ansa mana amen 
piso rims soar 
ryes eras rely 
reft tree fete 
into iota anti 
byrl bleb riel 
egad odea seam 
bile rile lees 
read spec haps 
bree bate tate 
sing bind dibs 
dare pare raid 
nevi vice vine 
need ream mend 
line find deli 
ires sipe imps 
errs tire ties 
beet beau cede 
oleo veil li...

input:

keys
59915
vise ares
refs herd
inns name
sics sals
sine ices
corn eros
also pile
used nods
gust huns
lear rats
epos pecs
aids silo
abet obit
moor froe
sims ties
gore ours
paly hall
east cist
orbs cero
tuns mane
fart feat
ossa oils
euro redo
eses sals
tuns sain
cusp guns
twos wets
hoar pash
lich clip...

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: 889ms
memory: 81508kb

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:

keto wets osar 
anon amin inia 
lieu rues urus 
long cion gimp 
lire reps seel 
haul lode loud 
fall floe wade 
aide eddy idea 
lire file sire 
ours aero oars 
tune mine mane 
amie rear mire 
seer nome oyes 
shit sill tils 
ragi vars cain 
saul ease laze 
near cans scar 
yoni miry inro 
rack lars re...

input:

keys
59935
arty rear
aals airs
rotl rete
acta ache
arak arco
berg beet
trio etui
chia ache
spiv puri
tall tapa
froe oral
brow rube
rime deer
bani clan
ness robs
ripe plie
ruts mush
cuds duce
sene lins
semi test
lima lino
nick pick
sets stet
tars sora
tace cete
skua purs
vier reap
thaw howk
anis doit...

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: 894ms
memory: 80488kb

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:

rats ants orad 
roes vies wove 
mora rant agon 
alee aper sear 
goos goes dons 
coho coon pith 
mise ohms meno 
miff fife arid 
yoga mony yang 
trim smit trio 
conn cite none 
pair diol glad 
miss smit stat 
yird dirl rail 
cees dere dees 
cobs suba kabs 
mono moor agon 
goes sets ores 
vote note mo...

input:

keys
59903
errs rose
bibs sinh
thio idyl
dere tree
even coed
tola abet
engs kens
curf clue
moss moos
aeon pees
yuga ogam
egal clag
oohs sets
isle grig
nipa pong
role soil
lice cist
girl lyre
noes hoes
sync aces
nite hire
harl male
cord coho
vavs rave
tall tela
aide hisn
cock rook
land lead
alba baal...

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